macsat.com OpenWrt and ASUS WL Forum
December 05, 2008, 14:45:33 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: About Zend ... check this out  (Read 1205 times)
0 Members and 1 Guest are viewing this topic.
noyz
Newbie
*
Offline Offline

Posts: 6


View Profile
« on: November 06, 2007, 13:46:56 PM »

hy macsat i will post here my q because i think here u will answer faster..


php-config

root@Home:/opt/etc/startup# php-config
Usage: /opt/bin/php-config [OPTION]
Options:
  --prefix            [/opt]
  --includes          [-I/opt/include/php -I/opt/include/php/main -I/opt/include                                  /php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/                                  date/lib]
  --ldflags           [ -L/opt/lib -L/home/slug/optware/wl500g/staging/opt/lib]
  --libs              [-lcrypt   -lcrypt -lpcre -lm  -lxml2 -lz -liconv -lm -lxm                                  l2 -lz -liconv -lm -lcrypt -lxml2 -lz -liconv -lm -lcrypt ]
  --extension-dir     [/opt/lib/php/extensions]
  --include-dir       [/opt/include/php]
  --php-binary        [/opt/bin/mipsel-linux-php]
  --php-sapis         [cli embed]
  --configure-options [--build=i386-pc-linux-gnu --host=mipsel-linux --target=mi                                  psel-linux --prefix=/opt --with-config-file-scan-dir=/opt/etc/php.d --with-layou                                  t=GNU --disable-static --enable-bcmath=shared --enable-calendar=shared --enable-                                  dba=shared --with-inifile --with-flatfile --enable-dom=shared --enable-embed=sha                                  red --enable-exif=shared --enable-ftp=shared --enable-mbstring=shared --enable-p                                  do=shared --enable-shmop=shared --enable-sockets=shared --enable-sysvmsg=shared                                   --enable-sysvshm=shared --enable-sysvsem=shared --enable-xml=shared --enable-xml                                  reader=shared --with-bz2=shared,/home/slug/optware/wl500g/staging/opt --with-cur                                  l=shared,/home/slug/optware/wl500g/staging/opt --with-db4=/home/slug/optware/wl5                                  00g/staging/opt --with-dom=shared,/home/slug/optware/wl500g/staging/opt --with-g                                  dbm=/home/slug/optware/wl500g/staging/opt --with-gd=shared,/home/slug/optware/wl                                  500g/staging/opt --with-imap=shared,/home/slug/optware/wl500g/staging/opt --with                                  -mysql=shared,/home/slug/optware/wl500g/staging/opt --with-mysql-sock=/tmp/mysql                                  .sock --with-mysqli=shared,/home/slug/optware/wl500g/staging/opt/bin/mysql_confi                                  g --with-pgsql=shared,/home/slug/optware/wl500g/staging/opt --with-openssl=share                                  d,/home/slug/optware/wl500g/staging/opt --with-sqlite=shared --with-pdo-mysql=sh                                  ared,/home/slug/optware/wl500g/staging/opt --with-pdo-pgsql=shared,/home/slug/op                                  tware/wl500g/staging/opt --with-pdo-sqlite=shared --with-xsl=shared,/home/slug/o                                  ptware/wl500g/staging/opt --with-zlib=shared,/home/slug/optware/wl500g/staging/o                                  pt --with-libxml-dir=/home/slug/optware/wl500g/staging/opt --with-jpeg-dir=/home                                  /slug/optware/wl500g/staging/opt --with-png-dir=/home/slug/optware/wl500g/stagin                                  g/opt --with-freetype-dir=/home/slug/optware/wl500g/staging/opt --with-zlib-dir=                                  /home/slug/optware/wl500g/staging/opt --with-pcre-regex=/home/slug/optware/wl500                                  g/staging/opt --enable-maintainer-zts --without-iconv --without-pear]
  --version           [5.2.4]
  --vernum            [50204]


as u said it seems to have zend.. but the thing that it's doesn't works is because it needs .so files .. so can u give me some tips.. or .so and where to put them ?

Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #1 on: November 06, 2007, 15:25:14 PM »


Sorry - I can't. As I havent looked much into it :-)

Is Zend even a good idea on theese low memory devices?

As far as I know, what Zend does is to keep a compiled version of the script, and only execute that one as runtime instead of recompiling every time. This will speed up things - especially since our CPU's here are slow - but it will also take memory - and we dont have much.

Not sure if it is a problem - was just wondering.

How do you know that "it dosn't work" ?

Logged
noyz
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #2 on: November 06, 2007, 16:30:14 PM »

well i was sure that u will ask how do i know it's not working
u see i have an ISP wich have a little script to acces internet by user / password
in linux http://acces.czone.ro/install_linux.html i don't know how much u will understand because it's in romanian
the thing u have to see is the installing scripts and the czone.sh
when i run on openwrt
php czone.sh user pass interface
it gives me that error about zend that i don't have it
czone.sh is encrypted i guess.. if u have problems oppening the page contact me
Logged
noyz
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #3 on: November 06, 2007, 22:11:06 PM »

this is how it looks czone.sh


Code:
<?php @Zend;
3272;
print 
"<html><body>\n";
print 
"<a href=\"http://www.zend.com/store/products/zend-safeguard-suite.php\"><img border=\"0\" src=\"http://www.zend.com/images/store/safeguard_icon_nover_64.jpg\" align=\"right\"></a>\n";
print 
"<center><h1>Zend Optimizer not installed</h1></center>";
print 
"<p>This file was encoded by the <a href=\"http://www.zend.com/store/products/zend-encoder.php\">Zend Encoder</a> / <a href=\"http://www.zend.com/store/products/zend-safeguard-suite.php\">Zend SafeGuard Suite</a></p>\n";
print 
"<p>In order to run it, please install the freely available <a href=\"http://www.zend.com/store/products/zend-optimizer.php\">Zend Optimizer</a>, version 2.1.0 or later.</p>\n";
print 
"<h2>What is the Zend Optimizer?</h2>
"
;
print <<<EOM
<p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4.  It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks.  The replacement code blocks perform exactly the same operations as the original code, only faster.</p>
<p>In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.</p>
<p>The Zend Optimizer is a freely-available product from <a href="http://www.zend.com">Zend Technologies</a>.  Zend Technologies is the company that develops the scripting engine of PHP, also known as the <a href="http://www.zend.com/store/products/zend-engine.php">Zend Engine</a>.</p>
EOM;
print 
"</body></html>\n";
exit();
?>

as u can see is encripted with zend encripter.. it req zend optimizer to run...
how can i run this script on openwrt..
i have another ideea can someone decript it ? and run it without zend..
i'll be very graitfull if could someone solve my problem


http://rapidshare.com/files/67916797/czone.sh.html
Logged
noyz
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #4 on: November 15, 2007, 00:11:07 AM »

no one can help me install zend optimizer on openwrt.. or decrypt zend script ?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.124 seconds with 24 queries.