RE: [PHP-WIN] Help !!
| From: | alain samoun | Date: | Tue, 19 Sep 2000 02:25:29 +0000 |
| Subject: | RE: [PHP-WIN] Help !! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2725@lists.php.net to get a copy of this message | ||
Your test file should be in your c:/php/ directory
Message from Alain Samoun
alain@samoun.com
-----Original Message-----
From: dkkim [mailto:dkkim@hana.sungkyul.ac.kr]
Sent: Thursday, April 20, 2000 6:51 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Help !!
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
--
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