Configure PHP5 and Apache server in Windows. At present, PHP5 has released the third candidate version. it is estimated that the official version will soon be released. The installation process should not change. The following article describes Windows2000XP2003 (PHP5 is not recommended to release the third candidate version. it is estimated that the official version will soon be released. The installation process should not change. The following article describes the configuration of the PHP environment in Windows2000, XP, and 2003 (it is not recommended to create a PHP environment in windows 98). The server selects Apache 2.0.49, select MySQL 4.0.20 for the database.
You need to download several software packages:
1. PHP5 RC3
2. Apache 2.0.49
3. MySQL 4.0.20
Download software package
1. PHP5 RC3
PHP is: http://www.php.net/downloads.php, find such as location, download the two packages in the box. The PHP 5.0.0RC3 zip package is the PHP5 software package, while the Collection of PECL modules for PHP 5.0.0RC3 is the PECL extension module package of PHP5.
After the download is complete, save it to drive C for backup.
2. Apache 2.0.49
Apache official: http://httpd.apache.org/download.cgi, find such as location, download For Windows MSI installation package, save in C disk backup.
3. MySQL 4.0.20
MySQL official: http://dev.mysql.com/downloads/mysql/4.0.html, find the Windows downloads section, download the Without installer package and save it on the C drive, as shown in:
Install PHP5
Assume that your system is installed on drive C, otherwise the following directories must be changed to the corresponding disk directory.
Decompress the downloaded PHP5 RC3(php-5.0.0RC3-Win32.zip) to the C: PHP5 directory. Decompress all the files in the PECL Extension Module Collection package to the C: PHP5ext directory.
Copy the php5ts. dll file under the C: PHP5 directory to the C: windows directory (if it is a windows 2000 operating system, it is the C: WINNT directory, the same below, no longer repeated instructions.
Copy the following dll files under the C: PHP5 directory to the C: windowssystem32 Directory:
Fdftk. dll
Fribidi. dll
Gds32.dll
Libeay32.dll
Libintl-1.dll
Libmhash. dll
Libmysql. dll
Libmysqli. dll
Ntwdblib. dll
Ntwdblib. dll
Yaz. dll
Libmysql. dll is supported by MySQL 4.1 and later versions. Because I downloaded MySQL 4.0.20 above, copy libmysql. dll.
Copy the php. ini-dist file under the C: PHP5 directory to the C: windows directory, change it to php. ini, and open and edit it in Notepad:
Locate the following two rows:
; Directory in which the loadable extensions (modules) reside.
Extension_dir = "./"
PHP5 released the third candidate version. it is estimated that the official version will soon be released. The installation process should not change. The following article describes Windows2000/XP/2003 (not recommended...