Re: Re: Help! Win98 - Apache - PHP3
| From: | Firman Sugiharto | Date: | Tue, 27 Jun 2000 10:08:19 +0000 |
| Subject: | Re: Re: Help! Win98 - Apache - PHP3 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-678@lists.php.net to get a copy of this message | ||
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