RE: [PHP-WINDOWS] Re: Help! Win98 - Apache - PHP3 From: Darvin Andrioli (darvin.andrioli <email protected>)
Date: 06/27/00

Try to remove

AddHandler php3-script .php3 .php

I've not set any handler.

Darvin

-----Original Message-----
From: Firman Sugiharto [SMTP:firmans <email protected>]
Sent: Tuesday, June 27, 2000 12:08 PM
To: php-windows <email protected>
Subject: Re: [PHP-WINDOWS] Re: Help! Win98 - Apache - PHP3

From: Darvin Andrioli
> Hi Firman,
> Does php works ? Put "<? phpinfo() ?>" inside a file named test.php3, and
then, from command line, run php test.php3, if should show the phpinfo text
I have done the above and prove that my PHP3 works well.

> Do you get some usefull information from the apache log?If so, let me
know.
The last entry in my error.log file is this:

C:\apache\Apache.exe: [Tue Jun 27 16:59:05 2000] [warn] [client 127.0.0.1]
handler "php3-script" not found for: c:/apache/htdocs/coba/hello.php3

whereas I have already added this line to my httpd.conf:

AddHandler php3-script .php3 .php

or is there any other lines that I should add after this?

Meanwhile, I've been able to catch the error message on the DOS screen. Here
it is (complete with all the tags):

<br>
<b>Fatal error</b>: Unable to open C:/WINDOWS/Local in <b>-</b> on line
<b>0</b><br>

It seems that Apache or PHP is sending the result to DOS screen instead of
the browser. The message above should have appeared right on a browser (with
the HTML tags) but not on a DOS screen.

FYI, my Temporary Internet Files directory is under the
c:\Windows\Local Settings\ directory (the complete path is
c:\Windows\Local Settings\Temporary Internet Files

Is this what Apache means when it says c:\WINDOWS\Local?

Thousand times thanks for all your help, guys.

Firman Sugiharto

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>