Enabling PHP 5.3 on Media Temple Grid Service (gs)

Article published Saturday, September 17th, 2011 at 3:40 pm

Enabling PHP 5.3 on your Media Temple Grid Service (gs) account is pretty easy. Just add the following line of text to a .htaccess file in the root of your html folder of the domain you would like it enabled for:

AddHandler php5latest-script .php

That will enable PHP 5.3. One thing to keep in mind is that if you browse the PHP options screen for the domain settings, it will show up as being PHP 4. The reason for this is that Media Temple populates the PHP version settings screen by reading every .htaccess file for every domain and looking for AddHandler php5-script .php, which is how they flag the site as being PHP 5. But, that flag actually enables PHP 5.2.

Hi, I’m Tom, and Renowned Media is my professional blog for web development tutorials. Traditionally, I’m a PHP/MySQL developer, but recently I’ve done a lot of JavaScript and Backbone.js development. Right now I’m really interested in Node.js and NoSQL technologies. I love developing on a mac and deploying apps to Linux servers.

Facebook Twitter LinkedIn Google+ 

Tags: , , ,

Category: PHP TutorialsServer/Apache/lighttpd Tutorials

Leave a Reply