PHP configuration. Configuration options: 1. php. ini file; extensionphp_pdo_myssql.dll [remove semicolon] 2. enable Apache rewrite module LoadModulerewrite_modulemodulesmod_rewrite.so under the httpd. conf file. configuration options:
1. php. ini file; extension = php_pdo_myssql.dll [remove semicolon]
2. enable the rewrite module LoadModule rewrite_module modules/mod_rewrite.so of Apache in the httpd. conf file.
AllowOverride None => AllowOverride ALL
3. configure the VM
# Configure restart Ural hosts to start the virtual host
Include conf/extra/httpd-vhosts.conf
ServerAdmin kongdaoxian@gmail.com
DocumentRoot "E:/skydao/apache2/htdocs/zendTest/public"
ServerName zendTest.com
ServerAlias www.zendTest.com
DirectoryIndex index. php
Options FollowSymLinks
AllowOverride None
Order allow, deny
Allow from all
Add dns in the hosts file
127.0.0.1 zendTest
127.0.0.1 www.zendTest.com
4. restart Apache
Extension 1. php. ini file; extension = php_pdo_myssql.dll [remove semicolon] 2. enable Apache rewrite module LoadModule rewrite_module modules/mod_rewrite.so under the httpd. conf file...