Any error you see on executing

php -v
You can check the correct php.ini the server is using by

php -i | grep php.ini
You also have to enable APC in php.ini with the following line:
apc.enabled=1
Here are the steps to install APC on CentOS server which shouldn't be much different than installing it on Ubuntu.