Configuration process:
(a) http.conf
To run PHP directly as a module of Apache:
LoadModule php5_module "C:/php/php5apache2.dll"
AddType application/x-httpd-php. php
In the Apache directory set up a WWW directory for storing site files, in http.conf:
Change DocumentRoot "D:/apache2/htdocs" to DocumentRoot "D:/apache2/www"
Direct Column Directory:
Options FollowSymLinks
AllowOverride None
Switch
Options Indexes FollowSymLinks
AllowOverride None
Set default characters to Chinese Simplified:
Adddefaultcharset GB2312
Re-launch Apache
(ii) php.ini
Copy the php.ini-dist to c:windows under the name php.ini
Extension_dir = "C:phpext"
Remove the following semicolon to support MySQL:
; Extension=php_mysql.dll
Copy the Libmysql.dll and Libmysqli.dll under the PHP directory to windows/system32.
Re-launch Apache
(c) Mysql
Install MySQL:
Then browse "Http://localhost/phpmyadmin"
http://www.bkjia.com/PHPjc/632878.html www.bkjia.com true http://www.bkjia.com/PHPjc/632878.html techarticle configuration process: (a) http.conf PHP directly as a module of Apache run: LoadModule php5_module c:/php/php5apache2.dll AddType application/ x-httpd-php. PHP in the Apache directory ...