Re: Unable to install PHP4
| From: | deviant | Date: | Mon, 12 Jun 2000 17:43:36 +0000 |
| Subject: | Re: Unable to install PHP4 | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-412@lists.php.net to get a copy of this message | ||
Hi Juan,
I sink you still have to add a few lines to httpd.conf (located in
<<apachefolder>>/conf )
These are :
ScriptAlias /php/ "c:/php/" (+/- line 460)
AddType application/x-httpd-php .phtml .php .php4 (+/- line 597)
Action application/x-httpd-php /php/php.exe (+/- line 642)
Greetings,
Deviant
----- Original Message -----
From: Juan Alonso <jalonso@ya.com>
To: <php-windows@lists.php.net>
Sent: Monday, June 12, 2000 6:59 PM
Subject: [PHP-WINDOWS] Unable to install PHP4
> Hello, everybody:
>
> I'm trying to install PHP 4.0.0 on a computer running Apache 1.3.9 on
> Win NT 4.0. I've followed all the steps in the documentation (copying
> and renaming the .ini file into the folder \winnt, copying the .dll file
> into the folder winnt\system32, modifying both php.ini and httpd.conf)
> but I'm unable to run the simplest of the applications, as I get an
> internal server error. If I look at Apache's error log, I get the
> following two lines:
>
> [Mon Jun 12 18:45:55 2000] [error] [client 172.16.139.98]
> c:/php/main.php is not executable; ensure interpreted scripts have "#!"
> first line
> [Mon Jun 12 18:45:55 2000] [error] [client 172.16.139.98] (2)No such
> file or directory: couldn't spawn child process: c:/php/main.php
>
> c:\php\ is the folder where php.exe is, and main.php is my first .php
> page.
>
> Any suggestions? Thanks in advance
>
> --
> Juan Alonso Moreno Ya.com Internet_Factory
> jalonso@ya.com http://www.globalya.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>