[wp-hackers] Drop PHP4 support entirely?

Jeremy Visser jeremy.visser at gmail.com
Sat Jul 7 05:46:07 GMT 2007


Matt wrote:
> Although, hosts could easily have PHP 4 and 5 running and just make a
> "global .htaccess" (in the home directory, above all of the user's
> account folders) with the code to enable PHP 5.

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.


More information about the wp-hackers mailing list