Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: RebelTex
Actually, I don't want to run Apache or other web server. I just want to run a CGI script with PHP.

Aha, I see. Well, I run PHP with Windows, so I can only help you generally...For Windows, yes, there are separate DLLs for Apache, CGI, ISAPI, etc.

You mentioned this folder before: /etc/PHP4/Apache2/php.ini

Have you looked within the PHP4 folder there to see if it has a CGI subfolder like it has for Apache?
241 posted on 04/02/2006 10:47:51 AM PDT by andyk (Go Matt Kenseth!)
[ Post Reply | Private Reply | To 240 | View Replies ]


To: andyk
"Have you looked within the PHP4 folder there to see if it has a CGI subfolder like it has for Apache?"

I searched fo CGI folders & found 3, /usr/share/perl/cgi, /usr/share//perl5/cgi, and /usr/lib/ruby/cgi

None of those had any PHP files, only perl or ruby.

I'm starting to get the feeling that I will have to compile PHP to run as CGI (something I'm not sure how to do, and some info I've read leads me to believe that having PHP as CGI might leave my system vulnerable to attack).

244 posted on 04/02/2006 1:26:24 PM PDT by RebelTex (Help cure diseases: http://www.freerepublic.com/focus/f-news/1548372/posts)
[ Post Reply | Private Reply | To 241 | View Replies ]

To: andyk
"Have you looked within the PHP4 folder there to see if it has a CGI subfolder like it has for Apache?"

Yeah, I did, but there's only the Apache folder and the only thing in it is the PHP.ini file.

245 posted on 04/02/2006 1:33:47 PM PDT by RebelTex (Help cure diseases: http://www.freerepublic.com/focus/f-news/1548372/posts)
[ Post Reply | Private Reply | To 241 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson