revert or downgrade php

Discussion in 'Installation/Configuration' started by kwickcut, Apr 5, 2012.

  1. kwickcut

    kwickcut Member

    i am running php 5.3 and i have a client that needs 5.2 as there site wil not run on 5.3 all pages are white. is there a how to for this i have searched the forum and did not see any.


  2. TiTex

    TiTex Member

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Another option is to use two php versions side by side. You can configure that by compiling a second php cgi binary in a different location e.g. in /opt/php52/ and then configure suphp (/etc/suphp.conf) to use that php binary instead of the normal system php. Then you can switch the site to suphp in ispconfig and it will use php 5.2 while all other sites use php 5.3 with the other php modes.
  4. kwickcut

    kwickcut Member

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You dont hav to alter apache, php cgi is a separate program.

    The tutorial looks ok, but follow it just until the line "sudo make install", then modify the suphp.ini and change the path to the php cgi binray in suphp.conf topoint to the binary that you compiled.

Share This Page