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

Go Back   LiteSpeed Support Forums > External Applications > PHP > [Resolved] APC and PHP ini file help

Reply
 
Thread Tools Display Modes
  #1  
Old 07-29-2010, 09:25 AM
holisticspider holisticspider is offline
Member
 
Join Date: Jul 2010
Posts: 11
Question [Resolved] APC and PHP ini file help

Hi,

I rebuilt PHP 5.2.10 using the LSWS admin console which worked great; but where do I enable the APC extension ? According to phpinfo() the ini file it check is under /usr/local/lsws/lsphp5/lib but no file exists there. It is probably a really dumb question but the answer is eluding me at the moment

TIA

Last edited by NiteWave; 07-31-2010 at 01:40 AM..
Reply With Quote
  #2  
Old 07-29-2010, 10:29 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You should create one or copy the one used by apache php, usually located at /usr/local/lib/php.ini.

APC may not work very well for shared hosting with PHP suEXEC enabled, eAccelerator will work better if the code is stable for the PHP version used.
Reply With Quote
  #3  
Old 07-29-2010, 10:39 AM
holisticspider holisticspider is offline
Member
 
Join Date: Jul 2010
Posts: 11
May one ask why ? Is eAccelerator still supported ? I thought to use APC as it will be included with PHP6.
Reply With Quote
  #4  
Old 07-30-2010, 07:14 AM
holisticspider holisticspider is offline
Member
 
Join Date: Jul 2010
Posts: 11
After some fighting I have PHP 5.3.3 and eAccelerator working with LSWS. Thank you for your help.
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 02:17 AM.



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