This is a fast and simple way to update your server to use the lastest PHP4 and PHP5 each featuring PDFLib and GD2 among other necessary options. Once completed you will be able to switch between the two versions of PHP using the Server Admin GUI.
May 2006 update: Recent security issues with PHP4 make it important to utilize the latest release of PHP4 to keep your server secure. These instructions rely on installers for an older PHP4. If you need PHP4 I suggest using this installer for PHP 4.4.2:
Install both of these packages. Note, if you are only interested in one or the other, simply install the package that most interests you. At the time of this writing few PHP applications operate correctly under PHP5 but you may wish to install it for testing. The Entropy PHP 4.3.11 package is the latest PHP4 install and features a wide scope of additional features that are required by many PHP applications, primarily GD2 for generating graphics dynamically from MySQL database information.
At this point you can enable either you PHP4 or PHP5 module and save the settings within Server Admin.
Note that depending on what PHP software you are planning to use on your server you may need to edit your PHP settings concerning items such as register_globals and magic_quotes.
Comments are closed