Re: [PHP-WIN] PHP cgi

2005-01-04 Thread blulagoon
Hi Luis, You are running PHP as a CGI, which is what I've been doing for about 3 years now with no problems. Now I am trying to use a piece of Open Source software which is written entirely in PHP, but the install bit fails and I was told this was because PHP has to run as a module. For me for

Re: [PHP-WIN] PHP cgi

2005-01-04 Thread Luis Moreira
If you don't have errors, then probably PHP is starting but there is some other problem. My HTTPD.CONF is as follows, and it runs fine. Luis # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in th

Re: [PHP-WIN] PHP cgi

2005-01-03 Thread blulagoon
I've looked in the apache error.log file, but there are no entries logged there when apache fails to start. I think you could make the case either way as to which group is more relevant here, PHP or Apache. However I'm sure there are lots of people here who use PHP with Apache running under Wind

Re: [PHP-WIN] PHP cgi

2005-01-03 Thread Luis Moreira
This is a PHP list, and there is an Apache one were this problem fits better. Go to www.apache.org and subscribe it. Meanwhile, do you have an error log to look at ? What does it say ? Luis blulagoon wrote: Thanks Dean. I've commented out the lines that say: Action application/x-httpd-php /php/ph

Re: [PHP-WIN] PHP cgi

2005-01-03 Thread blulagoon
Thanks Dean. I've commented out the lines that say: Action application/x-httpd-php /php/php.exe ScriptAlias /php/ "C:/php/" which I think are involved with cgi, but I don't know enough about the configuration files to know what else it uses, but with those lines '#' out, the two new lines added

Re: [PHP-WIN] PHP cgi

2005-01-03 Thread Dean Hayes
ne call me Crazy but there is one thing i know i am That is someone that shall reach peoples hearts with words ~~~ ~~ PHP seems easy enough but what about this ASP now that looks hard ~~ From: blulagoon <[EMAIL PROTECTED]> To: php-windows@lists.php.net Subject: Re: [PHP-WIN] PHP cgi Date: Mon

Re: [PHP-WIN] PHP cgi

2005-01-03 Thread blulagoon
I've added the following two lines to my httpd.conf file at the end of the LoadModule section: LoadModule php4_module "C:/PHP/sapi/php4apache2.dll" PHPiniDIR "C:/WINDOWS" I've got the add type line in the file already. End result is that Apache won't start automatically, and if I try and start

RE: [PHP-WIN] PHP cgi

2005-01-03 Thread Dean Hayes
U can find this in the install.txt file under the php root dir I have always used php as a module never CGI an have never had problems under 98SE or XP Pro Installing as an Apache