How to Upgrade PHP on iWeb

iWeb serves as Apple's consumer Web hosting product. The purpose of iWeb is to enable non-technical computer users to create websites without having to program them in languages such as HTML or PHP. This doesn't stop some Web developers hosting robust Web pages that serve up PHP applications and pages on their iWeb Web space. If you need to upgrade the version of PHP that is used by your iWeb Web space, you can do so by upgrading it in the same manner as you would any other Web server, such as an Apache Web server.

Instructions

    • 1

      Launch a Terminal command line interface into your iWeb server and log in using your administrator credentials.

    • 2

      Type the following command to obtain the latest PHP files directly from the PHP website. Note that after running the "tar" command, there may be a waiting period of a few minutes while the PHP files download, extract, and automatically install:

      wget http://www.php.net/get/php-5.2.5.tar.gz/from/this/mirror

      tar -xvzf php-5.2.5.tar.gz

    • 3

      Navigate to the PHP directory by using the "CD command as follows:

      cd php 5.2.5

    • 4

      Enter the configuration menu and make any necessary changes to support your specific PHP code:

      ./configure -options-from-your-phpinfo

Related Searches:

References

Comments

Related Ads

Featured