addition php 5.65

Discussion in 'ISPConfig 3 Priority Support' started by livetv, Jan 28, 2015.

  1. livetv

    livetv Member HowtoForge Supporter

    Hello,
    trying to install php 5.65 according to - https://www.howtoforge.com/how-to-u...pm-and-fastcgi-with-ispconfig-3-debian-wheezy.
    arrived to the part - Copy php.ini and php-fpm.conf to the correct locations:
    So in my case ...
    and i have now to folder at /opt : php-5.3.22 & php-5.6.5
    so the meening at guied is to copy from php-5.3.22 to php-5.6.5 as there is no php-fpm.conf.default
    so i need to copy it from the old 5.3.22?
    THANK YOU
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to change the php version number in all commands wherever they appear and not just in one part of the command like you did above. The instructions you used are for php 5.3 and not 5.6, php 5.6 has different compile options then 3.3. To compile a php 5.6, please use the guide for that version:

    https://www.howtoforge.com/how-to-b...e-and-apcu-for-ispconfig-3-on-debian-7-wheezy

    The version numbers have to be replaced as well off course.
     
  3. livetv

    livetv Member HowtoForge Supporter

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check that the php-fpm port that you defined for this new php version is not in use already.
     
  5. livetv

    livetv Member HowtoForge Supporter

    netstat -ntap | grep 8999
    tcp 0 0 127.0.0.1:8999 0.0.0.0:* LISTEN 31516/php-fpm.conf)
    so i tried port 8996 and getting the same result
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look at /var/log directory to see if there is a log file for your new php version that might explain the error.
     
  7. livetv

    livetv Member HowtoForge Supporter

    before i upgrade my debian OS to 7.8 maybe it is impotent...
    during the process according to - https://www.howtoforge.com/how-to-b...e-and-apcu-for-ispconfig-3-on-debian-7-wheezy

    added to /opt folder php-5.3.22
    and now the php-5.6.0
    this is the logs at /var/log/php5-fpm.log, NO other php log files
    and when php --version i see php 5.4.36
    THANK YOU
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The log that you posted is for the system php and the commaon "php --version" wll show you the version of the system php, not your custom php. if you want to query your custom php, then go to the flder where you installed the custom php version and run:

    ./php --version

    to run the php binary that you compiled and not the global one.
     

Share This Page