Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Daley Lay on August 01, 2002, 12:31:21 PM
-
Hi There,
Pls advise, how to enable Zend Optimizer in SME 5.1.2 server? do you need to download additional files???
Regards,
Daley L
-
Hi,
Take a look at this one. It works just fine and faster.
http://www.php-accelerator.co.uk/
Regards,
guestHH
-
I tried to install php-accelerator but it doesn't seem to work. I can't get it to show X-Accelerated-By:·PHPA with Rex Swain's HTTP Viewer. Anyone cares to show how to set this thing up step by step ??? TIA
-
1) Download and copy the correct 'php_accelerator_1.3.2.so' that matches your glibc/php releases into /usr/lib/php4/
2) Create an /etc/e-smith/templates-custom/etc/php.ini/75PhpAccelerator fragment with the following entries:
; PHP Accelerator settings
zend_extension = "/usr/lib/php4/php_accelerator_1.3.2.so"
phpa.shm_user = "www"
phpa.shm_group = "www"
3) Expand the template:
/sbin/e-smith/expand-template /etc/php.ini
4) Restart httpd
/etc/rc.d/init.d/httpd-e-smith graceful
5) Open webmail (or any php app) and move around in the app to load up some php pages into the php_accelerator cache. Visit the SME server /tmp dir to see the cache files at work.
Darrell
-
Hi Darrell,
For SME 5.1.2, which one can i download via the http://www.php-accelerator.co.uk/download.php? thanks.
Regards,
Daley L
-
Hello Darrel,
I was unable to find/downloadcorrect 'php_accelerator_1.3.2.so' for PHP v4.12. Would v4.11 works for E-Smith v5.5???
Thanks,
Lisa