I am trying to install APC on my vps. I followed these instructions which seemed to be found on several websites:
yum install php-pear php-devel httpd-devel pcre-devel gcc make
pecl install apc
Next there is the following command which failed:
echo "extension=apc.so" > /etc/php.d/apc.ini
This is because there was no php.d directory. So I did two things 1) I created the php.d directory and added a apc.ini file with one line:
extension=apc.so
And I also added that line to the php.ini file in
/usr/local/lib
I restarted apache:
/sbin/service httpd restart
and the APC configuration info still does not show up in my php.ini file.
I even added the extension to the website's local php.ini file. What am I missing here?
Thanks.