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

Go Back   LiteSpeed Support Forums > External Applications > PHP > APC refuses to work on php 5.1.4

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2006, 06:26 AM
amcd amcd is offline
Member
 
Join Date: Jul 2006
Posts: 17
Default APC refuses to work on php 5.1.4

i was running php 4.4.2 with APC 3.0.10 and it was working ok

today i upgraded php to 5.1.14 and i just cannot get APC to work

i tried compiling apc statically into the php binary also but it doesnt work

there are no errors regarding this in the error_log also

it is as if APC doesnt exist
Reply With Quote
  #2  
Old 07-25-2006, 09:01 AM
amcd amcd is offline
Member
 
Join Date: Jul 2006
Posts: 17
my phpinfo is here

http://xboard.us/bbb/phpinfo.php
Reply With Quote
  #3  
Old 07-25-2006, 11:28 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Please view our APC how-to wiki for PHP:

http://www.litespeedtech.com/community/wiki/

Based on your phpinfo, you either do not have the correct APC compiled for php 5.1.4 or it's installed into the wrong location.

Follow our wiki for a perfect how-to.
Reply With Quote
  #4  
Old 07-25-2006, 11:46 AM
amcd amcd is offline
Member
 
Join Date: Jul 2006
Posts: 17
i did follow your wiki exactly, both for installation of php 5 and for installation of APC

earlier i had installed php 4.4.2 and APC also by following your wiki and faced no problems
Reply With Quote
  #5  
Old 07-25-2006, 11:48 AM
amcd amcd is offline
Member
 
Join Date: Jul 2006
Posts: 17
Quote:
do not have the correct APC compiled for php 5.1.4
what does this mean? AFAIK, the APC source is the same, we just have to compile it again for new php version by using the new ppize and php-config path
Reply With Quote
  #6  
Old 07-25-2006, 11:52 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Remove the current APC source directory. Re-download APC package and uncompress. And start the compilation from the beginning.

Looks like you compiled APC for PHP 4.4 and then used the same source directory for PHP 5. You usually can get away with this with "make clean" by removing all PHP 4.4 generated config files but most often than not, you run into problems if all files are not removed.
Reply With Quote
  #7  
Old 07-25-2006, 11:54 AM
amcd amcd is offline
Member
 
Join Date: Jul 2006
Posts: 17
Quote:
Originally Posted by xing
Remove the current APC source directory. Re-download APC package and uncompress. And start the compilation from the beginning.

Looks like you compiled APC for PHP 4.4 and then used the same source directory for PHP 5. You usually can get away with this with "make clean" by removing all PHP 4.4 generated config files but most often than not, you run into problems if all files are not removed.
i already did that

later i created a new directory and tried to install the latest version from cvs also, but same results
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing system php felosi PHP 3 07-16-2007 11:23 PM
Cannot get PHP and RoR to work together casey Install/Configuration 1 07-13-2007 09:51 PM
PHP curl HTTPS does not work in chroot sofatime PHP 3 05-15-2007 05:51 AM
setup php in rails template cswilliams Install/Configuration 2 01-25-2007 08:21 AM
PHP Accelerators for PHP 5.1.4 ? Arkadius PHP 3 07-24-2006 06:11 PM


All times are GMT -7. The time now is 03:21 AM.



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