Back in 2008, all development stopped on PHP 4. Since that time, no features have been added, no bugs have been fixed, and no security holes have been patched up.
After supporting it for years, cPanel recently removed PHP4 as an option from EasyApache. Since Liquid Web relies on cPanel to administer a good number of our servers, we too have stopped fully supporting PHP 4.
While it is in your best interest to move to the most recent version of PHP 5, it may not be possible to do so immediately. cPanel does give us an unsupported way to run PHP 4 in the interim.
Installing cPanel’s PHP 4 Module
Running PHP 4.4.9 involves installing a custom module for EasyApache. First, download the module to the proper location:
tar -zxvf custom_opt_mod-PHP449.tar.gz
rm -f custom_opt_mod-PHP449.tar.gz
To install the module, run an EasyApache as you normally would. PHP 4.4.9 will be a new option in the Short Options list. (If you are not familiar with running EasyApache, it may be best to contact Liquid Web’s Heroic Support team for assistance.)
After the installation, check to see that it has been installed:
You may also need to set the php4 handler:
Remove When Finished
The goal of this unsupported module is to provide a bit of breathing room while code is migrated over to PHP 5. When all your site code is running on PHP 5, be sure to remove PHP 4 from the server. Leaving PHP 4 on your server when it is not needed could open your server up to security vulnerabilities.
Liquid Web’s Heroic Support is always available to assist customers with this or any other issue. If you need our assistance please contact us:
Toll Free 1.800.580.4985
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.