LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > OPCODE Cache?

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2007, 06:29 PM
PSS PSS is offline
Senior Member
 
Join Date: Jun 2007
Posts: 126
Default OPCODE Cache?

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?
Reply With Quote
  #2  
Old 06-08-2007, 08:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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 .
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:40 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.