MDDHosting Forums: PHP 5.2 and PHP 5.3 now available on all servers! - MDDHosting Forums
Page 1 of 1
PHP 5.2 and PHP 5.3 now available on all servers! Choose your version or run both side-by-side!
#1
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:
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:
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".
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
- Handler: application/x-httpd-php53
- Log into your cPanel account.
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!
█ 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!
#2
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?
2. Is the process the same for clients running Litespeed?
#3
Posted 09 April 2011 - 07:13 PM
frankacter, on 09 April 2011 - 07:12 PM, said:
1. Is this also the case for VPS clients?
frankacter, on 09 April 2011 - 07:12 PM, said:
2. Is the process the same for clients running Litespeed?
█ 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!
█ 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!
Share this topic:
Page 1 of 1

Help












