[wp-hackers] Drop PHP4 support entirely?

Matt speedboxer at gmail.com
Sat Jul 7 05:50:28 GMT 2007


On 7/6/07, Jeremy Visser <jeremy.visser at gmail.com> wrote:
>
> Wouldn't you just do it like this?
>
> AddType .php application/x-httpd-php4
>
> <Directory /home/*/public_html>
>        AddType .php application/x-httpd-php5
> </Directory>
>
> Well, I'm 99% sure that code has something wrong, but you get the idea.


Well, I just have:

AddHandler application/x-httpd-php5 .php

In a .htaccess in my home directory (above public_html). So, a host could
just have that, but put that right in the global home directory (/home, I'm
assuming?).

Although, the code to make PHP 5 default can be different, depending on how
the servers setup, I find that the one I use is "the norm".

-- 
Matt (speedboxer at gmail.com)
http://mattsblog.ca/ | http://livemp.net/


More information about the wp-hackers mailing list