How to install PHP server-side scripting language on Windows
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open Source general-purpose scripting language that is especially suited for Web development. Its syntax draws upon C, Java, and Perl, and is easy to learn. The main goal of the language is to allow web developers to write dynamically generated web pages quickly, but you can do much more with PHP.
Why install PHP version 4 when PHP 5 is available
You may want to install an older version of PHP as many web hosting companies still use PHP version 4. To avoid any incompatibility issues between your PHP code on a development box and production box of your web hosting, use an older version of PHP is recommended.
Anyway, here is How to install PHP 5 on Windows.
Steps to install PHP on Windows as development machine Step 1: Download PHP Windows Binaries
Step 2: Verify the installer you just downloaded.
Every PHP download comes with a MD5 hash value. This hash value is a Checksum value that can be used to verify data and file integrity. Screenshot below shows the PHP I downloaded was verified by freeware HashCalc.
File downloaded: php-4.4.8-Win32.zip
Verified PHP download by HashCalc
Step 3: Set up PHP directory
To unzip, you can use open source file archiver 7-Zip.
Step 4: Configure php.ini file
Open php.ini in your text editor and modify the values (if the value is different to the new value) listed in table below.
Because we are building a development and debugging environment, most of the default values in php.ini should be OK to use. Depending on your needs, you may want to change the following options:
For PHP mail function related configuration in PHP.ini, refer to the guide how to use PHP and Microsoft SMTP Server to send emails.
Copyright © 2017 GeeksEngine.com. All Rights Reserved.
This website is hosted by HostGator.
No portion may be reproduced without my written permission. Software and hardware names mentioned on this site are registered trademarks of their respective companies. Should any right be infringed, it is totally unintentional. Drop me an email and I will promptly and gladly rectify it.