MDDHosting Forums: PHP 5.2 and PHP 5.3 now available on all servers! - MDDHosting Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

PHP 5.2 and PHP 5.3 now available on all servers! Choose your version or run both side-by-side!

#1 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 09 April 2011 - 02:55 PM

At MDDHosting we're always working to offer you the best possible service and as a a result we've put hours of server administration into enabling both PHP 5.2 and PHP 5.3 on our servers for you. This means that if your script doesn't work on 5.3 you're not forced to use it and if you need 5.3 for a certain script you have full access to it. You can even run both 5.3 and 5.2 from within the same account at the same time!

By default all accounts will have their .php files handled by PHP 5.2 and if you wish a file to be handled by PHP 5.3 you simply need to change the extension of the file to .php53. For example:

  • index.php will be handled by PHP 5.2
  • index.php53 will be handled by PHP 5.3

If you wish for all of your .php scripts to be handled by PHP 5.3 you can do this using one of two methods:

  • The quickest way to enable this is to simply open your ".htaccess" file in your /public_html folder and add this line:
    AddType application/x-httpd-php53 .php

  • The more user-friendly but time consuming method is to add this entry via your cPanel.
    • Log into your cPanel account.
    • Access the "Apache Handlers" option under the "Advanced" section.
    • On the "Apache Handlers" page enter the following information:

      • Handler: application/x-httpd-php53
      • Exention(s): php

If you need to access the CLI version of PHP 5.3 such as for a cron job you can do so using the command "/usr/bin/php53".
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

#2 User is offline   frankacter 

  • Member
  • PipPip
  • Group: Clients
  • Posts: 32
  • Joined: 17-September 10
  • Gender:Male

Posted 09 April 2011 - 07:12 PM

1. Is this also the case for VPS clients?
2. Is the process the same for clients running Litespeed?
0

#3 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 09 April 2011 - 07:13 PM

View Postfrankacter, on 09 April 2011 - 07:12 PM, said:

1. Is this also the case for VPS clients?
No, if you want PHP 5.3 on a VPS we can just rebuild your VPS with PHP5.3 (it takes about an hour).

View Postfrankacter, on 09 April 2011 - 07:12 PM, said:

2. Is the process the same for clients running Litespeed?
The process *only* works for those on LiteSpeed which is all shared, reseller, and semi-dedicated customers. If you're on a VPS and not running LiteSpeed we can still swap you to PHP 5.3 but you wouldn't have the option to switch between 5.2 and 5.3 at will.
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users