1/20/08 - cpanel54 Apache & PHP Upgrades

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    1/20/08 - cpanel54 Apache & PHP Upgrades

    On Sunday, January 20th, we will be upgrading PHP 4 to version 4.4.8. This PHP upgrade in itself will not cause any problems as it is mostly a security a bug fix update.

    While this upgrade is in progress you may receive 500 Internal Servers Errors on your PHP scripts. Once the upgrade is finished, everything will continue working as normal. This upgrade should take no longer than 45 minutes.

    During this recompile we will be using cPanel's new EasyApache 3 (EA3). Doing so does result in some minor changes that you should take note of:

    1. Directory Indexes - The new default listing for directory index files is the following:

    Code:
    DirectoryIndex index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml default.htm default.html home.htm
    If you happen to have more than one index file (which is generally not recommended) and need them to display in a different order then you will need to add a DiretoryIndex line to your domain's .htaccess file. For almost all users, this won't need to be changed.

    2. PHP AddHandlers - The correct AddHandler statements for PHP will be the following:

    For PHP 4:

    Code:
    AddHandler application/x-httpd-php4 .php
    Note that there is now a 4 on the end, prior to the upgrade it has been x-httpd-php for PHP 4.

    For PHP 5 it is the same as before:

    Code:
    AddHandler application/x-httpd-php5 .php
    PHP 4 will still be the default version used on all servers unless you specifically have your .htaccess file setup to use PHP 5 instead. You will want to double check these once the upgrade is complete because cPanel runs a conversion script for .htaccess files which may cause some of your customizations to change.
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    #2
    This upgrade is starting now.

    Comment

    • AndrewT
      Administrator
      • Mar 2004
      • 3653

      #3
      This has been completed.

      Comment

      Working...