Content

How to force server to run php5

Thursday 3 December 2009 - Filed under Tips

From: tech-bits.com

“Some hosting providers are still using php 4 as their default for scripts, but offer php5 as well.  To force your scripts to all use php5, you can try adding this to a .htaccess file on your site:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

2009-12-03  »  admin

Share your thoughts

Re: How to force server to run php5







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

For spam filtering purposes, please copy the number 6173 to the field below: