Re: Enabling PHP in Apache when PHP is linked INTO the server?
| From: | Jason Wong | Date: | Thu, 28 Mar 2002 15:43:14 +0000 |
| Subject: | Re: Enabling PHP in Apache when PHP is linked INTO the server? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90541@lists.php.net to get a copy of this message | ||
On Thursday 28 March 2002 23:40, Max Wilson wrote:
> I have an Apache server built with mod_php4.c linked into the executable.
> e.g.
>
> bash-2.03$ httpd -l
> Compiled-in modules:
> http_core.c
> mod_env.c
> ....
> mod_php4.c
> mod_perl.c
>
>
> What changes do i need to make to http.conf before I can use php in web
> pages which will work please?
Probably something like:
AddType application/x-httpd-php .php4 .php3 .phtml .php .inc
AddType application/x-httpd-php-source .phps
Change the extensions to suit your needs.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
I am a deeply superficial person.
-- Andy Warhol
*/