Can I run PHP scripts in CGI mode?

Yes, in addition to the default mod_php processing unit we also have the php executable installed on all our servers. If you wish to run PHP as CGI, start you script with following:

!#/usr/bin/php
<?
//code in here
?>
  • 154 Users Found This Useful
Was this answer helpful?

Related Articles

What version of PHP do your servers use?

We use PHP 5 We upgrade to the latest version of PHP regularly to ensure hassle-free...

What file extension must php files have?

PHP files must have the .php extension in order to be recognized as PHP files by the server.

Powered by WHMCompleteSolution