PHP5 Support

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • MattyGabe
    Junior Member
    • Oct 2007
    • 1

    PHP5 Support

    Hello,

    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.
  • John_Accuwebhosting
    Senior Member
    • Jun 2006
    • 120

    #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.

    Cheers!
    John D.
    Support Technician,
    accuwebhosting.com
    Windows based hosting
    Linux based hosting

    Comment

    • m2hjessica
      Junior Member
      • Aug 2012
      • 1

      #3
      Re: PHP5 Support

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

      Comment

      • Oliver
        Member
        • Sep 2012
        • 35

        #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

        Comment

        • linux7802
          Junior Member
          • Dec 2009
          • 16

          #5
          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

          Comment

          Working...
          X