[i][b]本文为firedragonpzy原创,转载务必在明显处注明:
转载自【Softeware MyZone】原文链接: http://www.firedragonpzy.com.cn/index.php/archives/515[/b][/i]
转载自【Softeware MyZone】原文链接: http://www.firedragonpzy.com.cn/index.php/archives/515[/b][/i]
LoadModule php5_module "C:/php/php5apache2_2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php-cgi.exe
项目路径配置:
<Directory "E:/phpPractise/ZF_first/public">
Options FollowSymLinks ExecCGI MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "E:/phpPractise/ZF_first/public"
ServerName localhost
ErrorLog logs/zf-error.log
CustomLog logs/zf-access.log common
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
</VirtualHost>