Failing to Get APC to Work

Status
Not open for further replies.

a_legacy_reborn_oth

OMG Member
Oct 6, 2010
44
0
45
When I try to install APC I get the following

Code:
The apc.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626

I checked and I do not have apc.so in there, what could be the problem? Any Ideas as to why it is not in there?
 

a_legacy_reborn_oth

OMG Member
Oct 6, 2010
44
0
45
CentOS 5 and I tried via WHM and pecl install apc. The last one was WHM, it shows that it is installed but gave me the error that I stated above.
 

Mikey

:mikey:
Staff member
Jan 26, 2008
17,836
692
510
33
Disunited Queendom
mikeylicio.us
How do you know it didnt work? What is the error? If you create a file with this content
Code:
<?php phpinfo(); ?>
, save it as phpinfo.php and upload, do you see APC on this?

Did you do this part from floris' blog?

echo "extension=apc.so" > /etc/php.d/apc.ini
/etc/init.d/httpd start
 

a_legacy_reborn_oth

OMG Member
Oct 6, 2010
44
0
45
How do you know it didnt work? What is the error? If you create a file with this content
Code:
<?php phpinfo(); ?>
, save it as phpinfo.php and upload, do you see APC on this?

Did you do this part from floris' blog?
I got it to work, after I changed PHP back from 5.3.4 to 5.2.9
 
  • Like
Reactions: 2 people
Status
Not open for further replies.