How to install PHP GD2 library on Ubuntu
I needed to install the PHP GD2 library to support the WordPress captcha plugin SI CAPTCHA Anti-Spam. I found the right library and installed it with this apt-get command: sudo apt-get install...
View ArticleHow to view and debug PHP arrays
Sometimes when coding or debugging in PHP, it’s helpful to see the entire contents of an array. An easy way to do this is with the print_r command. To make it more readable, wrap it in <pre>...
View ArticlePHP APC: How to Monitor Usage and Config for Optimum Performance
APC is the Alternative PHP Cache. It’s a handy caching utility for use with PHP. We use it with W3 Total Cache on our WordPress installations. It runs OK “out of the box.” But you likely need to tune...
View ArticleHow to Upgrade APC on Ubunutu
APC — the Alternative PHP Cache — is a handy caching utility for use with PHP. We use it with W3 Total Cache to speed up our WordPress sites. I recently had a little trouble remembering how to upgrade...
View ArticleRestarting Apache Gracefully
If you are restarting the web server on a live website, you should do it gracefully. A graceful restart tells the web sever to finish any active connections before restarting. This means that active...
View Article
More Pages to Explore .....