OPCODE Cache?

PSS

Well-Known Member
#1
Just installed Litespeed Web Server Enterprise v3.1.1 trial. Looks good.

In installation there is

PHP Opcode Cache Setup

In order to maximize the performance of PHP, a pre-built PHP opcode cache
can be installed automatically. An opcode cache increases performance of
PHP scripts by caching them in compiled state, the overhead of compiling
is avoided.

Note: If an opcode cache has been installed already, you do not need to
change it. If you built PHP binary by yourself, you need to built
PHP opcode cache from source as well, unless the version of your
PHP binary is same as the pre-built PHP opcode cache built for.

Would you like to change PHP opcode cache setting [y/N]?


Ok, I said yes. But now I would like to upgrade to PHP 5.x which means compiling stuff, and can't find any info

- how to uninstall the opcode cache?
- what opcode cache app it is?
- where it is installed?
- is there a way to toggle it on/off?
 

mistwang

LiteSpeed Staff
#2
Just run lsws/admin/misc/enable_phpa.sh
For compiling your own PHP binary, please checkout our wiki. You can use eAccelerator, APC or XCache.
PHP 5 should use a different location for php.ini, lsws/php5/php.ini is recommended. PHP 4 is using lsws/php/php.ini. opcode cache configuration is in the php.ini .
 
Top