here and on the same release Baidu cloud download link: Http://pan.baidu.com/s/1jGZ8xVK
If you want to try the download process, see below:
PHP's official website download website: http://windows.php.net/download/
Click to enter and pull to the bottom of the page:
After downloading, unzip to the appropriate directory
You also need to start the configuration below:
A) php.ini-development for php.ini
b) Open the php.ini file and uncomment the following line
Extension=php_curl.dll
Extension=php_mysql.dll
Extension=php_mysqli.dll
Extension=php_pdo_mysql.dll
Extension=php_soap.dll
c) Set the time zone
Find keywords: date.timezone
For example, modify to: Date.timezone = PRC
D) The relationship between Apache and PHP is now being linked.
Open the httpd.conf in the apache24\conf\ directory
According to the keyword: #LoadModule找到对应的位置, below the corresponding location, add the following two lines of code
LoadModule php5_module "E:/setup/xp/php5.4/php5apache2_4.dll"
Phpinidir "e:/setup/xp/php5.4/"
The above two lines of code means loading the PHP module and informing Apache of the PHP configuration file
e) Add a suffix that can be resolved
Find AddType application/x-compress by keyword. Z
Then add the following three lines of code:
AddType application/x-httpd-php. php
AddType application/x-httpd-php. html
AddType application/x-httpd-php. htm
f) Test code
In the previous article we configured the root directory of Apache, came to our root directory, create a new. txt document, which is written in phpinfo ();
?>
After saving is closed, modify the suffix to. php
Then restart the server, let's experiment in the browser!
Successfully configure the environment!
The above describes the installation of PHP environment in XP installed PHP and configuration, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.