Click to See Complete Forum and Search --> : php vs. cgi


Andres
12-09-2003, 08:03 PM
Hello Y'all,

I've been experiencing difficulties trying to upload new pages through my web hosting company (which is Verio). I'm using PHP with the following code.

<?php
include("form.inc");
?>

But I can't because of the following scenario. My web hosting company tells me "our unix system process PHP, however PHP here runs as a CGI"

Can anyone help me with this?

Kyleva2204
12-09-2003, 08:43 PM
Originally posted by Andres
Hello Y'all,

I've been experiencing difficulties trying to upload new pages through my web hosting company (which is Verio). I'm using PHP with the following code.

<?php
include("form.inc");
?>

But I can't because of the following scenario. My web hosting company tells me "our unix system process PHP, however PHP here runs as a CGI"

Can anyone help me with this?
um i guess there saying rename the PHP file to like index.cgi and it will output PHP..

Zibings
12-10-2003, 11:04 PM
That's pretty much all I can think of. Cause, I'm not sure why things wouldn't be working just because they're running PHP with Apache in CGI mode...

pyro
12-11-2003, 07:51 AM
Whether PHP runs as a module or as a CGI binary has no affect on what you name your script. Are you sure you use a .php extention?