ISPConfig 3.0.5 beta1 : switching PHP versions

Discussion in 'Developers' Forum' started by Martijn81, Nov 15, 2012.

  1. Martijn81

    Martijn81 New Member

    We want to use ISPconfig 3.0.5 for a development server.
    I installed two optional PHP versions (4.4 and 5.1).
    Both are build as cgi/fastcgi also added in ISPconfig as fastcgi in the "Additional PHP Versions" page.

    If i select a PHP version in hosting control panel for a site.
    Then i have to do "killall php" to directly switch to the selected PHP version.

    Am i doing something wrong or is this a bug?

    OS: CentOS 6.3 64bit (This is a virtual machine on XenServer)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you waited until the cahnges were written to disk (see jobqueue in monitor)?
     
  3. Martijn81

    Martijn81 New Member

    Im new to ISPconfig.

    I wil check it.

    [edit]
    The queque was filled.
    So i turned on debug (in /usr/local/ispconfig/server/lib/config.inc.php)
    And called (as root) : /usr/local/ispconfig/server/server.sh
    No output.

    So i called server.php (added "ini_set('display_errors', 1)" to it), output was:
    [root@dev05 server]# /usr/bin/php -q /usr/local/ispconfig/server/server.php
    finished.

    Queue is empty and all seems fine (if you wait a minute :D). I'll try to find the initial error.
    Thx, for you're quick response!
     
    Last edited: Nov 15, 2012

Share This Page