English 中文(简体)
500台内部服务器自动——全球注册
原标题:500 Internal Server Error - register_globals

I transferred website to new server(PHP Version 5.3.8) which had "Server API=CGI/FastCGI", website was working fine except one page(public_html/user/index.php). I got error:

http://www.un.org。

Then, I changed Server API to " Apache 2.0 Handler ", now I get blank white page. phpinfo( ) is showing me register_globals Off

The .htaccess in public_html/user/ has below content

#deny from all

#AddType application/x-httpd-php .html

#AddHandler x-httpd-php .html

#AddHandler x-httpd-php .htm

#AddType image/x-icon .ico 

php_value display_errors On

#php_value register_globals On

php_value error_reporting E_ALL

#E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR

旧服务器运行PHP5.2.8。

任何建议?

问题回答

注册:正在折旧的全球化没有解释给它造成内部服务器错误,特别是如果已经发表意见的话。

由于你试图确定服务器不理解或允许的数值,你正在发现内部服务器错误。 与服务器的一般错误一样,pache的差错记录应当向您提供错误的详细情况。

根据经验,我的第一部猜测是(www)用户使用你的硬套,没有被赋予设定为“php”价值的权利:通过......htaccess。 为了确定“htaccess”的数值,你需要掌握在“pache”组合中,允许Override 备选办法或允许Override。 所有特权(“所有”包括“选择”)。 我首先要检查这一点。 php——价值指示需要允许选择权。

<编码>register_globals 由于安全原因,PHP5.3被折旧,因违约而终止。

p。HP 文件,以获得更多信息。

php_数值和php_flag的指挥设备已经过时,在大多数服务器使用时将造成500个错误。 他们的环境应在实验室档案或相应的系统中进行。

我本人有这一错误。

phpinfo()——在我的网站上,显示为:全球=外部

Found solution through 2 hour r&d web searches - edited the php.ini to register_globals=off

并再次上载,网站在网上运行。

Hope this solutions helps somebody to run his/her website.





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签