Additional PHP Versions without compiling

Discussion in 'Tips/Tricks/Mods' started by MyKE, Aug 12, 2017.

  1. MyKE

    MyKE Member

    Hi,
    I was just curious if there is any other easier way how to add another PHP version into ISPConfig3.1 instead of compiling from sources based on this tutorial: https://www.howtoforge.com/how-to-u...-and-fastcgi-with-ispconfig-3-ubuntu-12.10-p3 .

    And I found another painless solution. I published tutorial on my personal blog. You can find it here: https://sabrnet.wzk.cz/2017/08/ispconfig-3-1-additional-php-versions-tutorial/ .

    Steps to install PHP-FPM5.6 on Ubuntu 16.04 in short:
    Code:
    aptitude install python-software-properties
    add-apt-repository ppa:ondrej/php
    aptitude-update
    Code:
    aptitude install php5.6-cli php5.6-fpm
    Code:
    Path to the PHP-FPM init script: /etc/init.d/php5.6-fpm
    Path to the php.ini directory: /etc/php/5.6/fpm
    Path to the PHP-FPM pool directory: /etc/php/5.6/fpm/pool.d
     
    ahrasis likes this.
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    There is an updated tutorial for 16.04 somewhere in here. That said, I am using this for installing mine after adding ondrej multi php (5.6, 7.0 and 7.1) ppa:
    Code:
    apt-get -y install php5.6-fpm php7.0-fpm php7.1-fpm php5.6-opcache php5.6-fpm php5.6 php5.6-common php5.6-gd php5.6-mysql php5.6-imap php5.6-cli php5.6-cgi php5.6-mcrypt php5.6-curl php5.6-intl php5.6-pspell php5.6-recode php5.6-sqlite3 php5.6-tidy php5.6-xmlrpc php5.6-xsl php5.6-zip php5.6-mbstring php7.0-opcache php7.0-fpm php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-imap php7.0-cli php7.0-cgi php7.0-mcrypt php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-zip php7.0-mbstring php7.1-opcache php7.1-fpm php7.1 php7.1-common php7.1-gd php7.1-mysql php7.1-imap php7.1-cli php7.1-cgi php-pear php-auth php7.1-mcrypt mcrypt imagemagick libruby php7.1-curl php7.1-intl php7.1-pspell php7.1-recode php7.1-sqlite3 php7.1-tidy php7.1-xmlrpc php7.1-xsl memcached php-memcache php-imagick php-gettext php7.1-zip php7.1-mbstring php-apcu
     
  3. MyKE

    MyKE Member

    I was trying to search for similar topic before my post and I did not find any related to this.
    Thanks for your command with php modules :)
     

Share This Page