Need Help with PHPEd and PHP, just take a look.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
DuffMAn
Forum Newbie
Posts: 17
Joined: Thu Apr 03, 2003 4:53 pm

Need Help with PHPEd and PHP, just take a look.

Post by DuffMAn »

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.
vasilis
Forum Commoner
Posts: 40
Joined: Tue Apr 22, 2003 7:37 am

Post by vasilis »

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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply