Configuration of php and apache
1. Added php settings for conf \ httpd. conf, which is roughly in line 1. # Add LoadModule php5_module "E:/PHPCMS/PHP5/php5apache2_2.dll" to LoadModule vhost_alias_module/mod_vhost_alias.so"
PHPIniDir "E:/PHPCMS/PHP5"
Modify the default site: about 184 lines,
# DocumentRoot "E:/PHPCMS/Apache2.2/htdocs"
DocumentRoot "E:/PHPCMS/Cms/www.aerchi.com"
About 209 rows
#
# This shoshould be changed to whatever you set DocumentRoot.
#
.....
Enable the. htaccess function. There are about 120 rows of redirection. Last year, the # LoadModule rewrite_module modules/mod_rewrite.so virtual directory was about 305 rows.
Alias/2015 "E:/PHPCMS/Cms/www.aerchi.com"
2. Enable mysql in php;
About 880 lines in php. ini:
Remove the semicolon
Extension = php_mysql.dll
Extension = php_mysqli.dll
Note that when php versions are 5.3, 5.4, and 5.5, the default password for mysql is 41-bit encryption.