note 32932 added to install.apache2
| From: | yestom at mail dot com | Date: | Wed, 11 Jun 2003 10:43:22 +0000 |
| Subject: | note 32932 added to install.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50164@lists.php.net to get a copy of this message | ||
Question!
I have Apache2 on my WinowsXp.I install php-4.3.2-Win32 and a did all thing that I read in the
site.I want to install php as modul.So I copy this lines:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
My path is correct, but when I try to start my Apache2 server
error message pop up.And i can't start it.
Then I delete, previous lines, ad insert these:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
I successfuly start my Apache2 web server.Then I wrote a simple script, but it didn't work.I
have error message.Then I looked the error log of Apache:
C:/Program Files/Apache Group/Apache2/php/test.php is not executable; ensure interpreted scripts
have "#!" first line
Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache
Group/Apache2/php/test.php
pls. Help me.
Where I wrong?
PS. Sorry for my bad English.
----
Manual Page -- http://www.php.net/manual/en/install.apache2.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32932
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32932&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32932&report=yes