Posted by sam on 11/10/05 19:06
"Paul Battersby" <batman42ca@yahoo.ca> a ιcrit dans le message de news:
3uidneK6j5A0H_feRVn-og@rogers.com...
> I'm running php4, Apache2 on Win2000.
>
> I've inherited a web site that I want to run on my own server. There are
> .php and .htm files mixed together in various sub directories.
>
> What I want to do is have the server recognize that anything ending in
> .php
> (no matter where it is found) is to be executed but without needing the #!
> directive at the top of every .php file.
>
> I've searched the web, looked carefully through the Httpd.conf file and I
> still can't figure it out.
>
> Any ideas?
It seams that you are using php4 as cgi binary and not as apache module.
Right ?
To make things work as you like you have to compile php4 as apache module
and change some directives in your httpd.conf file
See here for more details:
http://www.php.net/manual/en/install.windows.apache2.php
Navigation:
[Reply to this message]
|