PHP 4 or PHP 5? You Pick the Flavor

Hints HOWTOs Web Development

I recently ran into a situation where there were two versions of PHP on a server and I needed to make sure PHP 5 was being used. To pick the version – all you need to do is add the following into your .htaccess file (assuming you do not have access to your httpd config):

For PHP 5:
AddType application/x-httpd-php5 .php

For PHP 4:
AddType application/x-httpd-php4 .php

It does not get much more easier than that!

Leave a Reply

Your email address will not be published.
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stuff

LEGOs Anyone?

While looking through a pile of links this morning – I came across something really cool for LEGO lovers: I LEGO N.Y. Personally I recently nailed up a LEGO board on my office wall so I could start adding pieces to make something fun and creative when I was either stressed out or stuck on […]

Life

Give Credit to Single Parents

I have to say – there are not too many days that go by where I think to myself at least once a day “I cannot imagine being a single parent”. I was sick yesterday and all I could do was lay in bed…moving was not a real option. Thankfully – I have A to […]