Php As Cgi?

liunx

Guest
Hey All,<br /><br />I'm working on setting up a new CMS system, but unfortunately most of the support forum is in German! Not so good for me:)<br /><br />I'm having an issue and someone suggest that they had the same thing resolved by getting the hosting to "run php as cgi" - does anyone know what that means?<br /><br />The CMS system has a "files" folder that you can upload from the web interface differnt file types that you can then place within the CMS pages...but it's just giving me a wacky error.<br /><br />Ok, just wanted to see if anyone knew what "run php as cgi" means!<br /><br />Thanks!<br />-Dave<!--content-->
If you upload what's known as a phpinfo page you'll see information on all the bells and whistles that TCH has loaded with PHP and you'll see some of the default settings and whether PHP is installed as a cgi module or Apache module. (To hardcore server gurus out there, forgive me if I use slightly incorrect terminology)<br /><br />You create a phpinfo page by creating a three line fine like so<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><?php<br />phpinfo();<br />?><!--c2--></div><!--ec2--><br /><br />Name it whatever.php, upload it, 'hit' it with your browser, and up comes all the details on your particular php install. Once you see what you need, I suggest you remove the file from your server... just in case.<br /><br />To the best of my knowledge, PHP runs as an apache module on most, if not all, TCH servers. But I don't have first hand knowledge to say this for a fact. But regardless, the relevant question is how it runs on YOUR server.<br /><br />I haven't run across many situations where it would benefit you to have PHP run as a cgi module.<!--content-->
To my knowledge, TCH does not run PHP as a CGI on any of its servers.<!--content-->
 
Back
Top