httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor <rot...@gmail.com>
Subject Re: [users@httpd] Different PHP Version for a VirtualHost
Date Sat, 16 Oct 2010 01:12:27 GMT
See if you have a .htaccess and take a look at it, it might have default
information
in this file.

:-)

On Fri, Oct 15, 2010 at 2:34 PM, Dave Mansfield <dmansfield@sbcglobal.net>wrote:

>
>
> Stefan Dürrenberger wrote:
>
>> Am Freitag, den 15.10.2010, 15:06 -0600 schrieb Brian Hirt:
>>
>>
>>> Maybe you can run a different apache process with the version of PHP you
>>> need on a different port and use mod_rewrite/mod_proxy from the public
>>> apache?
>>>
>>>
>>
>> It would work, but it seems complicated. There should really be a way to
>> configure this in one apache instance. I'm confused why it does work
>> for .php4-extensions, but not .php. But thanks, if I can't resolve this,
>> it's a workaround to try.
>>
>>
>>
> I don't know the code - but it seems that using AddType will not
> necessarily *override* the existing MIME association at some higher
> precedence.  Have you tried ForceType in an appropriate context with your
> php4-specific scripts?  Something like:
>
> <FilesMatch "\.php$|\.php4$">
>  ForceType php4-cgi
> </FilesMatch>
>
> -- D Mansfield
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message