Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Website Design/Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=64)
-   -   What does it mean when a php script is executed as a cgi?? (http://www.chiefdelphi.com/forums/showthread.php?t=36871)

Adam Y. 01-04-2005 20:58

What does it mean when a php script is executed as a cgi??
 
Quote:

PHP: For security reasons, user web pages containing PHP are run as CGI scripts on the COE web server. This ensures that your script is executed with your own user permissions. We also use PHP in "Safe Mode", which places certain restrictions on what you can do in your scripts.
Will this affect anything if I were to run a php script on my webserver beyond the obvious fact that safe mode is on?

AIBob 01-04-2005 21:57

Re: What does it mean when a php script is executed as a cgi??
 
PHP as CGI:
This means they call the compiled exe using the sdtin, stdout, and such, they do not use the library/SAPI that php makes. On windows this would mean they are executing the exe file and not linking through the dll files. I think it is slower, but it is still fine, other than safe mode, there should be almost no differences except some of the server variables may not be passed through to php, depending on which type of server they are using.


All times are GMT -5. The time now is 19:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi