Configure the apachephpmysql environment in windows764bit. Install apache in a 64-bit environment, php, and configuration process Apache: www. apachelounge. comdownloadPhp: windows. php. netdownloadMysql: install apache, php, and configuration in a 64-bit environment
Apache: http://www.apachelounge.com/download/
Php: http://windows.php.net/download/
Mysql: http://dev.mysql.com/downloads/mysql/
If the installation fails, you can use httpd-k uninstall to delete apache and then install apache.
Configure the ServerRoot directory address, for ServerRoot "d:/Server/Apache-x64" note where d should be in lower case, uppercase configuration failed, note!
Configure apache to enable feature blocks, search for the keyword LoadModule vhost, and add three lines below
LoadModule php5_module "D:/Server/php-5.5.10/php5apache2_4.dll" // according to the actual configuration
PHPiniDir "D:/Server/php-5.5.10" // depending on the actual configuration
AddType application/x-httpd-php. html. htm. php
Configure the DocumentRoot directory as DocumentRoot "d:/Server/Apache-x64/htdocs"
If an error occurs in the middle, the D drive character in the directory configuration in step 1 is successfully written in lower case.
In the configuration file, enable the Mysql function module.
; Extension = php_mysql.dll
; Extension = php_myphpsqli.dll remove the semicolon above.
Display_error = Off: turn Off the display error.
The value of date. timezone is set to Asia/Shanghai, that is, date. timezone = Asia/Shanghai.
Restart apache after the change.
Configure environment variables
Create MYSQL_HOME and edit the Path variable. For example.
Execute mysqld install MySQL-defaults-file = "D: \ Server \ mysql-5.6.16 \ my-default.ini"
For example, if the removal command is mysqld remove
Start the service net start mysql
Initialize mysql password mysqladmin-uroot password root password initialize to root
Awesome Apache: http://www.apachelounge.com/download/ Php: http://windows.php.net/download/ Mysql :...