Closed Thread Icon

Topic awaiting preservation: PHP - CGI? Pages that link to <a href="https://ozoneasylum.com/backlink?for=29656" title="Pages that link to Topic awaiting preservation: PHP - CGI?" rel="nofollow" >Topic awaiting preservation: PHP - CGI?\

 
Author Thread
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 10-29-2007 01:08

Is it possible to run php-cgi along with PHP installed as a module?

The reason I ask is that I have a site done in php but our host will not enable ftp through php. They said that if I wanted, I could compile php as cgi and enable it myself. But, I don't want to have to convert every page that is already done.

Thanks in advance!

Later,

C:\

(Edited by CPrompt on 10-29-2007 01:10)

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 10-29-2007 03:42

FWIW Gentoo allows both mod_php and CGI support... and it'd be retarded if you couldn't build support for both. I can't say I've personally done it, though, but I assume someone else will stop by and do so.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 10-29-2007 09:54

Sure, though you're probably stuck with changing your file extensions to
something else than .php (I don't think you can redefine them
once they've been assigned to a module).

Otherwise,
the appropriate Add-file-handlers in .htaccess should do the trick.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 10-29-2007 14:12
quote:

Tyberius Prime said:

though you're probably stuck with changing your file extensions to
something else than .php



OK. So you are saying that myfile.php will be parsed by mod_php rather than the cgi right? Hmm....I'll have to look at the file-handlers for .htaccess. Not sure what I would name them if not PHP LOL.

quote:

reisio said:

FWIW Gentoo...



Host runs FreeBSD


Thanks for the replies. I'm going to give it a run through on a linux box I have local to see what happens before I break our site

And just a side note on this wonderful hosting company that our HO uses...they have Register Globals On and they won't add support for FTP via PHP...

Later,

C:\

(Edited by CPrompt on 10-29-2007 14:14)

« BackwardsOnwards »

Show Forum Drop Down Menu