Additional PHP versions helper

Discussion in 'Tips/Tricks/Mods' started by SergiX44, Dec 8, 2016.

  1. SergiX44

    SergiX44 Member

    webguyz, ahrasis, Pe46dro and 3 others like this.
  2. budgierless

    budgierless Member HowtoForge Supporter

    hi,
    this is good, but you have only said its auto compiles, but you need to gave more deatils, it a: basic php install or full featured module install including gettex, mysql, ftp etc.?
     
  3. SergiX44

    SergiX44 Member

    It's a full feature installation with modules. It also add and start script for FPM, and support version upgrade: if you have already installed PHP 7.0.12, and you want to upgrade to 7.0.13 you can select again the version from the menu and the script will upgrade the already installed version.
     
  4. vwpete

    vwpete New Member

     
    SergiX44 likes this.
  5. elmacus

    elmacus Member HowtoForge Supporter

    I did a test with PHP7.0, but messed up the Port for FPM, so script failed, rerun/update did not fix it, so FPM does not work.
    Testing again with PHP7.1 and setting correct port does work for 7.1. ( i did use same as ISPconfig: 9010 but i guess i should use another unused like 9011, this is testserver so its good to mess things up)

    Suggestion: if the input of port is not correct with numbers only, do failsafe handling and ask for port again.
    Thanks anyway for good script.
     
  6. eddie67

    eddie67 New Member

    Hello.

    I have tried the script. I get no error messages so it seems to work.

    But I do not get the new versions as a choise in the PHP-selector in ISP Config.
    I missed something?

    Thank you
    Eddie
     
  7. elmacus

    elmacus Member HowtoForge Supporter

    Did you add the PHP settings in System in ISPconfig ? You must.
     
    SergiX44 likes this.
  8. eddie67

    eddie67 New Member

    That was it !

    Thank you
     
    SergiX44 likes this.
  9. webguyz

    webguyz Active Member HowtoForge Supporter

    SergiX44,
    Thanks for automating a boring and tedious task. Installed on a server I was going to upgrade soon and php 7.1 installed perfectly!
     
    SergiX44 likes this.
  10. felan

    felan Member HowtoForge Supporter

    THis is pretty neat :) But is it possible to call the install directory like php-7.0 and php-7.1 instead of php71?
     
  11. ahrasis

    ahrasis Member

    I am using ondrej php on Ubuntu 16.04 for php 5.6, 7.0 and 7.1. I am thinking of switching to this but currently I do not think this will work on Ubuntu 16.04 without modifications. Have you developed a script for Ubuntu 16.04?
     
  12. SergiX44

    SergiX44 Member

    I've tested it on ubuntu 14.04, but I don't know on 16.04. On my machines i've Debian Jessie and working fine.
    The required packages are:
    Code:
    apt-get -y install build-essential libfcgi-dev libfcgi0ldbl libjpeg62-turbo-dbg libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev libxml2-dev libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev libfreetype6-dev libkrb5-dev libpq-dev libxml2-dev libxslt1-dev
    I've choose that names to avoid any conflicts with pre-existing installations.
     

Share This Page