I installed xcache with the command apt-get install php5-xcache
, however I am unsure if it is actually working, so I went to review my php.ini and discovered that there are 4 of them:
1. Should /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini be the same?
2. do I need to copy the contents of /usr/share/doc/php5-xcache/examples/php.ini to one of the other php.ini's to make it work?
3. Does this have anything to do with the message "PHP Warning: Module 'json' already loaded in Unknown on line 0" because the extension json.so is specified in both the .../cli/php.ini and .../apache2/php.ini
I feel really ignorant asking these questions, but most of my experience is on a Fedora box which is a little bit different.
Ubuntu Server 7.04 - The Perfect Setup