Hi, I installed the NuShepere PHPEd IDE, but only the IDE, the Apache, PHP, and MySQL I downloaded from its own sites.
When I try to run some code from the PHPEd, I have this error, but if I run the code in the browser it works.
Security Alert! The PHP CGI cannot be accessed directly.
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.
For more information as to why this behaviour exists, see the manual page for CGI security.
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.
What the hell is this?, Thx in advance.
Need Help with PHPEd and PHP, just take a look.
Moderator: General Moderators
I am not sure but I thought that maybe that has to do with the mode that you run phpEd. There are 2 modes, http mode and cgi mode. Ive been running my scripts through phpEd in http mode (go to menu>>options>>debugger or server tab, i dont remember exactly but you ll find out). Try the http mode if you are not running in this mode
and take a look at http://www.php.net/manual/en/configurat ... e-redirect and http://php.net/security.cgi-bin if you want php to run as cgi