PHP for all operating systems is available on the PHP website at www.php. net. You can download source code to compile on your operating system. Compiling and installing source code isn’t difficult on Linux and the Mac OS, but requires expert knowledge and software on Windows.
Binary files — compiled, ready-to-run files that just need to be copied to the correct location — are available only for Windows. You can obtain binary files for Linux and the Mac OS from other web locations, but not from the PHP website.
Obtaining PHP for Windows
You can easily install PHP from binary files that you can download from the PHP website at www.php.net. You can download a Zip file that contains all the necessary files or an installer that you can run to install all the PHP files. The PHP documentation recommends that you install PHP from the Zip file for better understanding of the installation and easier addition of extensions later. The directions in this chapter provide instructions for installing PHP from the Zip file.
Although Windows users can compile and install PHP from source code, also available from the PHP website, it is difficult and should only be attempted by advanced users. It requires advanced knowledge and special software.
To download the Windows Zip file, take these steps:
1. Go to www.php.net/downloads.php.
2. Download the Zip package for the most recent version of PHP.
Binary files — compiled, ready-to-run files that just need to be copied to the correct location — are available only for Windows. You can obtain binary files for Linux and the Mac OS from other web locations, but not from the PHP website.
You can easily install PHP from binary files that you can download from the PHP website at www.php.net. You can download a Zip file that contains all the necessary files or an installer that you can run to install all the PHP files. The PHP documentation recommends that you install PHP from the Zip file for better understanding of the installation and easier addition of extensions later. The directions in this chapter provide instructions for installing PHP from the Zip file.
Although Windows users can compile and install PHP from source code, also available from the PHP website, it is difficult and should only be attempted by advanced users. It requires advanced knowledge and special software.
To download the Windows Zip file, take these steps:
1. Go to www.php.net/downloads.php.
2. Download the Zip package for the most recent version of PHP.

No comments:
Post a Comment