No announcement yet.

PHP5 Support


Ads on showthread pages

  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP5 Support

    WordPress Hosting on SSD Servers

    I had contacted support to ask if AccuWebHosting had supported or planned to upgrade from PHP4 to PHP5 and they said that they had not supported it yet due to hardware restrictions.

    However, I found a discussion thread on here regarding Windows hosting and someone mentioned enabling PHP5 through the Helm control panel.

    My question: is there something similar in CPanel that Linux web hosting customers can do to enable PHP5?

    I am not currently a webhosting customer, but I was previously, and I still am a domain customer, and I am currently developing my site. I'm trying to stick to PHP3/4 functions, but there are quite a bit of nice features in PHP5 that is hard for me to stay away from as it makes my job easier.

    Thanks a lot!
    Last edited by admin; 08-14-2015, 09:14 AM.

  • #2
    Re: PHP5 Support

    To enable php5 you can add below line to your .htaccess file:

    Ad*dType application/x-httpd-php5 .php

    Now, your php scripts will under PHP 5.



    • #3
      Re: PHP5 Support

      Yes, the above provided code works fine to activate php 5 for a domain name.


      • #4
        Re: PHP5 Support

        Can I use both PHP4 and PHP5 on the same dedicated server?

        My server is with ManageMyBox and I already have several domains using PHP4 (with more to come)
        I would like to set up several new domains with a particular script that requires PHP5
        My skill level with scripting/programming is just about zero but I am able to follow step-by-step instructions.

        Thanks for your help


        • #5
          ASP.Net Hosting starts @ $3.18/Mo.
          Re: PHP5 Support

          PHP 4 is no more available with the cPanel and if you want to run the multiple php version on your server, than you can use the PHP selector module provided by the cloudlinux, so that can select the PHP version as per your requirement from the cPanel >> PHP selector


          Sign up for a News Letter Click here to sign up