Multiple php version on The Perfect Server ISPConfig CentOS6.4 nginx

Discussion in 'HOWTO-Related Questions' started by franck63, Jun 30, 2014.

  1. franck63

    franck63 New Member


    I've hit a brick wall.

    I have a "The Perfect Server – CentOS 6.4 x86_64 (nginx, Dovecot, ISPConfig 3)" configured and running.

    I am trying to add another version of php... i.e. 5.3.28 in order to run vtiger 5.4

    upon doing "pecl -C ./pear.conf update-channels" i get

    "/usr/local/bin/pecl: line 28: exec: /usr/local/bin/php: cannot execute: No such file or directory"

    I tried googling for a day... and yet not resolved.

    «Please Help

  2. srijan

    srijan New Member HowtoForge Supporter

    For multiple php use this link

    It is almost similar for CentOS6.4
  3. franck63

    franck63 New Member


    I should have mentioned that I am folowing this how-to
    "How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (CentOS 6.3)"

    This is mostly a "pecl" oriented question but since it is part of that tutorial
    I think this thread makes sense.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There shoudl be no pecl in /usr/local/bin/ directory. I guess you might have made a mistake in the configure command, the \ after each line means that the line has to be continued, if you add e.g. a whitespace behind one of these backslashes, then you start a new command and php, pecl and others will be compiled for and installed in /usr/local/bin/ instead of /opt/....
  5. franck63

    franck63 New Member

    ok I will check
  6. franck63

    franck63 New Member

    Hi Till,

    This is the line I've used

    I don't see any mistake

    I am using this bash script modified for debug only

    The output is this
    As you can see the

    Both of these variables are empty


    find attached the output of "php -i"

    Attached Files:

  7. franck63

    franck63 New Member

    These are my configuration files


    Attached Files:

Share This Page