(A) The HTTP. conf
The PHP directly as the Apache module running:
LoadModule php5_module "C:/PHP/php5apache2. dll"
Addtype application/X-httpd-PHP. php
Apache directory set up a WWW directory for site files in the HTTP. conf:
The documentroot "D:/Apache2/htdocs changed to" documentroot "D: /Apache2/www"
Direct column directory:
The Options the FollowSymLinks
AllowOverride None
To:
Options Indexes FollowSymLinks
AllowOverride None
Set the default character for simplified Chinese:
Adddefaultcharset GB2312
Restart Apache
(Two) the php. ini
The PHP. ini-Taiwan copied to the C: \ WINDOWS renamed PHP. ini
Extension_dir = "C: \ PHP \ Ext"
Remove the following semicolon, to support the mysql:
; Extension = php_mysql.dll
The PHP Directory libmysqlclient. dll and libmysqli. dll copy Windows/system32.
Restart Apache
(3) The MySQL
MySQL installation:
And then browse http: // localhost/phpMyAdmin"
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service