php zend 500,php – Zend Framework – 500内部服务器错误

今天我用Zend Framework创建了我的第一个项目但是当我尝试连接到我的项目时,我只看到“500内部服务器错误”.我在httpd.conf文件中添加了一些新行:

NameVirtualHost *:80

DocumentRoot C:\AppServ\www\data1\public

ServerName my_ip

NameVirtualHost *:80

DocumentRoot C:\AppServ\www\data1\public

ServerName http://my_ip

那是我的htaccess文件:

RewriteEngine On

#RewriteBase data1/public/

RewriteCond %{REQUEST_FILENAME} -s [OR]

RewriteCond %{REQUEST_FILENAME} -l [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$- [NC,L]

RewriteRule ^.*$index.php [NC,L]

RewriteRule !\.(js|ico|gif|jpg|png|css|swf|html|pps)$index.php [NC,L]

order allow,deny

allow from all

我为这个问题阅读了更多主题,但目前问题尚未解决.

那是我的error.log文件(来自服务器):

[Wed Aug 08 01:46:02 2012] [warn] NameVirtualHost *:80 has no VirtualHosts

PHP Warning: PHP Startup: Unable to load dynamic library 'C:/AppServ\\php5 \\ext\\php_exif.dll' - \xd3\xea\xe0\xe7\xe0\xed\xe0\xf2\xe0 \xef\xf0\xee\xf6\xe5\xe4 \xf3\xf0\xe0 \xed\xe5 \xe5 \xed\xe0\xec\xe5\xf0\xe5\xed\xe0.\r\n in Unknown on line 0

[Wed Aug 08 01:46:02 2012] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations

[Wed Aug 08 01:46:02 2012] [notice] Server built: Jan 18 2008 00:37:19

[Wed Aug 08 01:46:02 2012] [notice] Parent: Created child process 2392

[Wed Aug 08 01:46:02 2012] [warn] NameVirtualHost *:80 has no VirtualHosts

[Wed Aug 08 01:46:02 2012] [warn] NameVirtualHost *:80 has no VirtualHosts

PHP Warning: PHP Startup: Unable to load dynamic library 'C:/AppServ\\php5\\ext\\php_exif.dll' - \xd3\xea\xe0\xe7\xe0\xed\xe0\xf2\xe0 \xef\xf0\xee\xf6\xe5\xe4\xf3\xf0\xe0 \xed\xe5 \xe5 \xed\xe0\xec\xe5\xf0\xe5\xed\xe0.\r\n in Unknown on line 0

[Wed Aug 08 01:46:02 2012] [notice] Child 2392: Child process is running

[Wed Aug 08 01:46:02 2012] [notice] Child 2392: Acquired the start mutex.

[Wed Aug 08 01:46:02 2012] [notice] Child 2392: Starting 64 worker threads.

[Wed Aug 08 01:46:02 2012] [notice] Child 2392: Starting thread to listen on port 80.

[Wed Aug 08 01:46:15 2012] [alert] [client 46.40.124.225] C:/AppServ/www/data1/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值