Help !!
| From: | dkkim | Date: | Fri, 21 Apr 2000 01:51:09 +0000 |
| Subject: | Help !! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2724@lists.php.net to get a copy of this message | ||
Help !
1. OS = Win98SE
2. Web server = Apache web server 1.3.12
3. PHP => PHP 4.0.2
I have done the followings
1. insall PHP in c:\php
2. edit c:\windows\php.ini
extension_dir = c:\php
doc_root = c:\apache\htdocs
3. edit c:\apache\conf\httpd.conf
ScriptAlias /php/ "c:/apache/php/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "c:/php/php.exe"
4. edit c:\apache/php/test.phtml
<?php phpinfo() ?>
5. test http://127.0.0.1/test.phtml
==> The result : Browser shows "Internal server Error"
==> The following is Apache web server errorlog file
[Tue Sep 19 10:30:28 2000] [error] [client 127.0.0.1]
c:/apache/php/test.phtml is not executable; ensure interpreted scripts have
"#!" first line
[Tue Sep 19 10:30:28 2000] [error] [client 127.0.0.1] (2)No such file or
directory: couldn't spawn child process: c:/apache/php/test.phtml