Click to See Complete Forum and Search --> : Problems PHP4.02 under Windows98 & Apache1.3.1


Anon
09-22-2000, 06:09 AM
I installed PHP under Windows98 & Apach 1.3.12 but I cannot access it directly at http://localhost/index.php
Although it work at http://localhost/cgi-bin/php.exe/index.php

I tried to configure httpd.con, it seems correct, but...?
Please Help...
Thanks.... Hervé

Anon
09-22-2000, 07:24 AM
Did you put the action line in the correct position of the httpd.conf??

Here is a segment of mine...
#
# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
#
#
Action application/x-httpd-php /php/php.exe

Anon
09-22-2000, 12:42 PM
Yes, I put the action line in the correct position of the httpd.conf, but it still doesn't work!
Do I have to change something in Regedit??

Anon
09-22-2000, 02:48 PM
Nop. I just modify my httpd.conf & my php.ini and it work. I can send you a copy of mine, if you want.

Anon
09-22-2000, 02:51 PM
Did you declare this in httpd.conf?

This will activate the index.php

#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.html index.htm index.php

Anon
09-22-2000, 03:00 PM
Hi Carlos,

I have the similar problem with PHP4-Apache-Win98. Please send me a copy of your conf file. Thanks.

KoaFar (kwu@microweb.com)

Anon
09-22-2000, 07:39 PM
Yes, Thanks Carlos, I'll appreciate

Anon
09-23-2000, 05:22 AM
hi.. carlos,

i need a copy of httpd.conf and php.ini as well. hope u could send it to me at:

thongkk@tm.net.my

Thank you very much

cK

Anon
09-23-2000, 01:55 PM
Hi Carlos,

I have the same problem. Could you please send me a copy too?

Thanks,
Ranga

cK wrote:
-------------------------------
hi.. carlos,

i need a copy of httpd.conf and php.ini as well. hope u could send it to me at:

thongkk@tm.net.my

Thank you very much

cK