PHP 4/5 switch?

Discussion in 'General' started by Pasco, Aug 22, 2005.

  1. Pasco

    Pasco Member

    Hi 2gether,

    I'd appreciate a switch for changing between PHP Version 4 and 5 on ISPConfig. Or is it already possible to change this somehow? It would be great if you could change it for each customer/web on its own.. :D

    thx in advance,
    Grz,
    P@sco
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The PHP that is compiled by the ISPCOnfig installer is for the controlpanel (backend) only. This has nothing to do if your hosted websites use PHP4 or PHP5.

    You can have a second PHP as CGI and put the vhost configuration for that in the httpd includes field of the site.
     
  3. Pasco

    Pasco Member

    OK, but can I switch somehow between PHP 4 and PHP 5 in the "ISPConfig-Main-http-deamon"? Because I have a webshop (xt-commerce) and want to run it. But its free version runs only under PHP 4 and is not compatible with PHP 5...

    BTW: How do I have a second PHP? And can you give me an example for such an vhost configuration please?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not a question specific for ISPConfig, because you can have php4 or php5 on your webserver.

    maybe this helps you:

    http://www.sitepoint.com/blogs/2004/03/24/running-php4-and-php5-in-parallel/
     
  5. Pasco

    Pasco Member

    thanks so much for your link, that will help me for sure!
     

Share This Page