ISPConfig 3.1 – Additional PHP Versions Tutorial

Fast tutorial how to install into ISPConfig 3.1 Additional PHP Versions without compiling from sources.

Note: There is official tutorial on howtoforge.com but from my point of view is so complicated and each time you need to compile new PHP version or additional PHP extensions. That’s the reason why repository is the best choice and super easy to setup in this tutorial instead of compiling PHP from sources.

This tutorial is suitable for ISPConfig 3.1 running on Ubuntu 16.04 with PHP-FPM. But in result it can be done on any Debian/Ubuntu version. I will install additional PHP 5.6 version for ISPConfig from repository.

  • First we need to add PHP repository maintained by Ondřej Surý

  • After we will install PHP5.6 and most common modules

  • Now we will add Additional PHP version 5.6
    • Login as Admin into ISPConfig and navigate to System > Additional PHP Versions > Add new PHP version
    • Choose correct server where you’ve installed PHP5.6 and set PHP Name like: PHP5.6
    • Switch to PHP-FPM Settings
      • 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
      • Save
  • Now you can choose any web page and select your PHP5.6 version.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

%d bloggers like this: