Failing to Get APC to Work

Status
Not open for further replies.

a_legacy_reborn_oth

OMG Member
Joined
Oct 6, 2010
Messages
44
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?
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,201
Which operating system, and how did you try to install apc?
 

a_legacy_reborn_oth

OMG Member
Joined
Oct 6, 2010
Messages
44
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
Joined
Jan 26, 2008
Messages
17,835
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
Joined
Oct 6, 2010
Messages
44
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
 
Status
Not open for further replies.
Top