Koozali.org: home of the SME Server

how to enable Zend Optimizer

Daley Lay

how to enable Zend Optimizer
« 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

guestHH

Re: how to enable Zend Optimizer
« Reply #1 on: August 01, 2002, 02:50:40 PM »
Hi,

Take a look at this one. It works just fine and faster.

http://www.php-accelerator.co.uk/

Regards,
guestHH

Lisa Chou

Re: how to enable Zend Optimizer
« Reply #2 on: August 02, 2002, 02:38:27 PM »
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

Darrell May

Re: how to enable Zend Optimizer
« Reply #3 on: August 02, 2002, 10:31:03 PM »
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

Daley Lay

Re: how to enable Zend Optimizer
« Reply #4 on: August 03, 2002, 01:23:46 PM »
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

Lisa Chou

Re: how to enable Zend Optimizer
« Reply #5 on: August 06, 2002, 03:19:27 AM »
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