apc php cache
I installed php-apc;
aptitude install php-apc
Then I added these lines to php.ini;
extension=apc.so apc.enabled=1 apc.shm_size="64
apache 2 restart;
However, after this was done, I was left with a blank page at my web address.
I had to remove php-apc and restart apache2 to restore my web site.
This was done very early morning
Any advice would be much appreciated.
also, there seems to be a quote mark that doesn't need to be there in apc.shm_size="64 no idea if that's causing the problem.
one last thing, there's /usr/share/doc/php-apc/apc.php.gz which you can copy to a virtual host and uncompress which gives you pretty graphs.
No quotes around values. You can install apc.php and check how much your site consumes. 30 might be enough.
Edit: What the above said
Can I safely assume the same code usage for Debian?
I will give this a try later in the day and post my results.
I removed php-apc again and re-started apache 2 and website is back to normal.
Note: I have cleared browser cache and I do not have wp-cache installed.
line in /etc/php5/apache2/php.ini ? You're not suppposed to add extension entries manually if you use aptitude to install them.
Check your Apache error log for any hints. Also, if you have the php5-cli package installed, you can type
in the command line and check for PHP startup errors.
Yes, apc.co was removed from php.ini.
I will look further into this in coming days, apache error log and php-cli.
Busy constructing the site at the moment