⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 f_2

📁 集成了投票调查、流量统计、文件上传、留言版、论坛、软件下载、文章赏析、通讯录、网上购物 等板块 管理账户为peilei 密码为800901
💻
字号:
php5.0的配置问题!急!|peilei|我配置完后,出现谢列错误提示:<br><br>Security Alert! The PHP CGI cannot be accessed directly. <br>This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.<br><br>For more information as to why this behaviour exists, see the manual page for CGI security.<br><br>For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.<br><br>以前配置php4.1没出现过上述问题。请高手指点!|1073711940|218.68.248.79|ran|checkbox____|none|none||none||Re:php5.0的配置问题!急!|peilei|php.ini的第373行(如果和我的php版本一样的话),有这样的一句 <br>“; cgi.force_redirect = 1”,把这一行改成“cgi.force_redirect = 0”就可以了, <br>记住,去掉前面的“;”符号是使本行生效,后面的“1”一定要改成“0”, <br>register-globe &nbsp; 为on &nbsp; <br>改过后,保存,运行一下php程序,看一下是不是成功了? <br>September 4, 2002: <br>PHP PROBLEMS WITH VERSION 2.10 &nbsp;<br>It has come to our attention that many of you are experiencing problems with PHP scripts &nbsp;<br>after upgrading to version 2.10. Many of the problems have to do with settings &nbsp;<br>in your php.ini file. If you are getting a &quot;Security Alert! The PHP CGI cannot be accessed <br>directly.&quot; message, this is because you have installed a version of PHP that was not <br>bundled with the server. To fix this problem, find your php.ini file (usually in your <br>WINNT or WINDOWS directory) and change the following setting: <br><br>cgi.force_redirect = 0 <br><br>This is safe because OmniHTTPd stores the PHP binary outside the document tree. For more &nbsp;<br>information, click here. &nbsp;<br><br>If you are having problems accessing variables (such as the query string), this is because &nbsp;<br>PHP has changed the default security status for variables. By default, all variables must be &nbsp;<br>accessed within a set of superglobals. PHP recommends that you modify your scripts to use the &nbsp;<br>new variable access method but in many cases you will need to make the following change to your <br>php.ini to run older PHP scripts: <br><br>register_globals = On <br><br>For more information on security implications, click here. We are currently reviewing &nbsp;<br>installation defaults and may ship future versions of OmniHTTPd with global variables <br>turned back on. &nbsp;<br><br>August 12, 2002: <br>VERSION 2.10 NOW AVAILABLE &nbsp;<br>Version 2.10 is now available for download. This version includes PHP 4.2.2, which &nbsp;<br>changes the way predefined variables are made available. Please refer to the PHP <br>documentation for more information. &nbsp;<br><br>February 18, 2002: <br>VERSION 2.09 NOW AVAILABLE &nbsp;<br>The full install of version 2.09 is now available for download. We apologize to all &nbsp;<br>those affected by the delayed release. Security Alert! |1073711968|218.68.248.79|ran|checkbox____|none|none||||

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -