Run Environment configuration: php54+apache2.2+mysql
1. Default Port settings:
#Listen 12.34.56.78:80
Listen 8080
2. Load Model:
LoadModule php5_module "D:myziliaophpphp54php5apache2_2.dll"
3. Types of support:
AddType application/x-compress. Z
AddType application/x-gzip. GZ tgz
AddType application/x-httpd-php. php
Phpinidir "D:MYZILIAOPHPPHP54"
4.Mysql configuration:
Modify php.ini file, configure PHP
First copy the php.ini-development or php.ini-production in the PHP directory to the C:windows directory. and renamed it PHP.ini
Php.ini-development for Development Program use (test)
Php.ini-production has a high security setting, it is suitable for on-line when the product uses
Open PHP.ini Modify the following
Find Extension_dir = "./" This line, modified for extension_dir = "D:phpext" (note remove front ";")
;d Ate.timezone = modified to Date.timezone = "Asia/shanghai" (note remove front ";")
Short_open_tag set to On
Extension=php_mbstring.dll (wide character support, recommended to remove the previous ";")
Extension=php_gd2.dll (PHP's GD library support, must remove the front of the ";")
Extension=php_mysqli.dll (Remove front ";")
Extension=php_mysql.dll (make PHP support MySQL, must choose to remove the front of ";")
Save exit