The server encountered an internalerror or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about thiserror may be available inthe server error log.
Apache错误日志显示:apache_error.log
1
[Thu Aug 04 13:42:20 2016] [alert] [client 127.0.0.1] E:/wamp/wamp/www/wwwroot/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined bya module not included inthe server configuration, referer: http://127.0.0.1:8080/
解决办法:
1、请您检查PHP程序的属性是否设置为755,如果PHP程序的属性不是755,那么运行的时候会报“Internal Server Error”错误,请您使用FTP软件将属性更改为755再测试。
2、请您检查PHP程序所在的当前目录下是否有名为.htaccess的文件存在,此文件会干扰PHP程序的正常运行,如果发现有此文件建议您删除或者改名后再测试。
3 由于项目Zend加密,用优化代码的方法来提高php应用程序的执行速度。
1
2
3
4
5
6
7
8
9
10
11
12
13
zend加密项目页面提示信息<br>Zend Optimizer not installed
This file was encoded bythe Zend Encoder / Zend SafeGuard Suite
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
What isthe Zend Optimizer?
The Zend Optimizer isone of the most popular PHP plugins forperformance-improvement, and has been freely available since the early days of PHP 4. <br>It improves performance bytaking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. <br>The replacement code blocks perform exactly the same operations asthe original code, only faster.
In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded bythe Zend Encoder or Zend SafeGuard Suite.
The Zend Optimizer isa freely-available product fromZend Technologies. Zend Technologies isthe company that develops the scripting engine of PHP, also known asthe Zend Engine.