View Full Version : Installing Zend Optimizer
brandonk 10-14-2001, 09:25 PM Can anyone provide me with some instructions on installing Zend Optimizer on a RaQ4 with PHP-4.0.6.
I've been searching all day and trying different things, and still haven't been succesful. Any help would be appreciated.
eva2000 10-14-2001, 09:29 PM installed zend optimiser on a raq is the same as on a normal linux server
brandonk 10-15-2001, 07:54 PM Originally posted by eva2000
installed zend optimiser on a raq is the same as on a normal linux server
Thanks, that really doesn't help. As I said, I've looked all over for instructions, I've followed those instructions and still nothing...
hoster 10-16-2001, 02:23 PM This should help you out I did this last week end and it works fine.
It is on a Raq4i and a Raq4r works great.
It is very easy to install, and doesn't require any re-compilation of apache or php. All you need to do is the following:
1. Download the ZendOptimizer.so file.
2. Upload the file to any dir
3. Add the following line into your php.ini [can be found at /etc/httpd/php.ini
zend_optimizer.optimization_level=15
zend_extension="/path/to/ZendOptimizer.so"
4. Restart apache by typing /etc/rc.d/init.d/httpd restart
5. You're done.
;)
brandonk 10-16-2001, 06:37 PM I've done this so many times. :D
My phpinfo is at:
http://cobby3.webxonline.com/test.php
I copied ZendOptimizer.so out of the "ZendOptimizer-1.1.0-PHP_4.0.5-Linux_glibc21-i386" distribution into /usr/lib/php/.
I have the following in /etc/httpd/php.ini:
zend_optimizer.optimization_level=15
zend_extension="/usr/lib/php/ZendOptimizer.so"
Then I restarted apache.
Still nothing. ;)
Any other suggestions?
hoster 10-16-2001, 06:45 PM Hello
Did you put the 2 line at the top of the php.ini or ?
You have to use the right zend .so file for your O/S, this the one I used and it works.
That is all I did and it worked just fine.
ZendOptimizer-1[1].1.0-PHP_4.0.5-Linux_libc5-i386.tar.gz
;)
brandonk 10-16-2001, 07:56 PM I think the reason it's not working is because debug is enabled, and the instructions say it should be disabled. But how do I go about reconfiguring PHP so that it's disabled?
Varun Shoor 10-17-2001, 04:03 AM You have to recompile PHP with '--disable-debug' to disable debug, check the PHP manual for more info on this or the Zend Encoder Userguide PDF that came with the tarball.. its all in there :)
brandonk 10-17-2001, 06:17 PM Originally posted by VarunShoor
You have to recompile PHP with '--disable-debug' to disable debug, check the PHP manual for more info on this or the Zend Encoder Userguide PDF that came with the tarball.. its all in there :)
People enjoy stating the obvious. :D
utman 10-18-2001, 06:23 PM try putting this statement below the 2 you already have
zend_optimizer.enable_loader=1
brandonk 10-18-2001, 06:42 PM Originally posted by utman
try putting this statement below the 2 you already have
zend_optimizer.enable_loader=1
Didn't work, thanks though. :bawling:
AbbasJaffarali 10-19-2001, 02:45 AM What does the Zend Optimizer do? Does it speed up PHP applications like vBulletin?
Thanks
Varun Shoor 10-24-2001, 10:42 AM Yes, it speeds up applications significantly + You can load all the files encoded using Zend Encoder, www.zend.com for more info :)
The Realist 10-24-2001, 01:28 PM Hi Guys,
Can someone do me a step by step instructions on how to Install Zend Optimizer.
Dont have a clue were to start........ like downloading the .so file in telenet etc, etc.
Thanks Guys.
Brian:)
|