|
Posted by Catalin Trifu on 09/28/97 11:20
I think you are looking for <IfModule mod_php5.c or <IfModule mod_php4.c
These are valid in case you compiled and loaded PHP as an Apache module.
Catalin
Gaby vanhegan wrote:
> Hi,
>
> I have php 5.0.4 running fine on Fedora Core 2 under Apache 2.0.49. To
> all intents and purposes, PHP works fine. The only problem I have is
> with Plesk, which uses the presence of the sapi_apache2 module to turn
> PHP on or off for the various sites that it controls:
>
> <IfModule sapi_apache2.c>
> php_admin_flag engine on
> php_admin_value open_basedir
> "/home/httpd/vhosts/stells.co.uk/httpdocs:/
> </IfModule>
>
> The problem is that the sapi_apache2 module isn't built into php.
> phpinfo() shows no mention of this module, but on other systems I have
> seen it compiled in. How do I build php 5.0.4 to have this module
> included?
>
> I'm sorry for the cross posting, the php-install list was silent on the
> matter, and I'm pretty sure it's not a Plesk related issue. I have
> already googled extensively for this but with no joy, as well as trawled
> the Plesk support forums and PHP list archives. Also, as this is not my
> machine, the client requests Plesk, so I can't just turn that off.
>
> I'm sure the problem is a very small and minor one, but I just can't see
> it!
>
> Gaby
>
> --
> Junkets for bunterish lickspittles since 1998!
> gaby@vanhegan.net
> http://weblog.vanhegan.net
Navigation:
[Reply to this message]
|