Portal Home > Knowledgebase > Articles Database > Anyone had this warning on php configuration?


Anyone had this warning on php configuration?




Posted by linuxfan, 09-07-2009, 05:43 PM
WARNING *** | | | | You will be compiling the CGI version of PHP without any | | redirection checking. By putting this cgi binary somewhere in | | your web space, users may be able to circumvent existing .htaccess | | security by loading files directly through the parser. See | | http://www.php.net/manual/security.php for more details. | +--------------------------------------------------------------------+ I using nginx instead apache,so i wonder can i ignore this since nginx doesn't support htaccess anyway.

Posted by nomankhn, 09-07-2009, 11:20 PM
Yes, it is warning come when compile php and if i am not wrong i am assuming that you also got this as well. | License: | | This software is subject to the PHP License, available in this | | Distribution in the file LICENSE. By continuing this installation | | Process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | The installation process at this point. | +------------------------------------------------- -------------------+

Posted by inspiron, 09-08-2009, 07:52 AM
Also try to checkup the phpinfo to see the version?

Posted by vsreenath664, 09-08-2009, 09:09 AM
Hi, When are you getting the error? Are you recompiling php? Can you paste the out put of php -v here ? Regards, Sreenath.

Posted by linuxfan, 09-08-2009, 04:28 PM
It happening after configure php.And it seems switch --enable-force-cgi-redirect will make that warning go away,but not sure is it good idea to turn on that on nginx.

Posted by nomankhn, 09-08-2009, 05:53 PM
This option will Enable the security check for internal server redirects. You should use this if you are running the CGI version with Apache. Your case is nginx, looks ok FYI http://www.phpbuilder.com/manual/en/configure.php Last edited by nomankhn; 09-08-2009 at 05:57 PM.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
BitNinja (Views: 538)