输入banner图图片脚本导航/分类

PHP配置文件应用(配置pdo与虚拟主机)

  1. # Virtural hosts启动虚拟主机的配置
  2. Include conf/extra/httpd-vhosts.conf
  3. ServerAdmin kongdaoxian@gmail.com
  4. DocumentRoot "E:/skydao/apache2/htdocs/zendTest/public"
  5. ServerName zendTest.com
  6. ServerAlias www.zendTest.com
  7. DirectoryIndex index.php
  8. Options FollowSymLinks
  9. AllowOverride None
  10. Order allow,deny
  11. Allow from all

在hosts文件中加dns

  1. 127.0.0.1 zendTest
  2. 127.0.0.1 www.zendTest.com

4,重启Apache