[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    [PHP-WIN] Help !!
From:       "dkkim" <dkkim () hana ! sungkyul ! ac ! kr>
Date:       2000-04-21 1:51:09
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic