Category Archives: cPanel / WHM

PHP 5.3.1 now available in WHM/cPanel’s EasyApache

After much patience and persistence on the part of myself and many other individuals, we now have PHP 5.3.x support in EasyApache, starting with PHP 5.3.1.  For those of you who may be unaware, EasyApache is WHM/cPanel’s tool for creating custom compilations of Apache and PHP.  This solves many problems for those who have been doing this “behind the scenes,” as well as those who wish to utilize some of the great new features implemented in the 5.3 series.  PHP 5.3.1 introduces namespaces, late static binding, decreased memory usage (YMMV), several new extensions, and improved MySQL support.  Be sure to check your scripts for compatibility before going live with PHP 5.3.1 on a production server.  Some scripts will be affected by some of the changes, so testing is extremely important.

Using memcached with WordPress

wp-settings.php
wp-settings.php

Today, I decided to implement a popular distributed caching system called memcached.  Memcached allows PHP objects and variables to be stored in memory, which when used properly, can decrease page load time and server load.  Memcached can also work as a central cache for a cluster of servers.  File-based caching systems work by generating static files, and storing them in a local directory to be served in place of the dynamic content.  This can reduce the number of database queries, and help avoid having to process the script with each new request; however, there is a downside. Continue reading Using memcached with WordPress

PHP 5.2.11 released, fixing 75+ bugs

Yet another PHP 5.2.xx release took place a few days ago, which brought us over 75 bug fixes, some security-related.  If you are running any PHP 5.2.xx series release, make sure you apply this update.  Full details on the PHP 5.2.11 release can be viewed at PHP.net.  In addition, WHM/cPanel implemented this version of PHP in EasyApache, which updates smoothly.  Now, if they would only get to implementing 5.3 already… =) Continue reading PHP 5.2.11 released, fixing 75+ bugs