PHP versions - 5.6

Discussion in 'Installation/Configuration' started by janvl, Nov 8, 2018.

  1. janvl

    janvl New Member

    Hi,

    I run Ubuntu 18.04 with ISP 3
    I have been following
    "How to install PHP 7.1, 7.2 and 5.6 as PHP-FPM & FastCGI for ISPConfig 3 on Debian 9"
    to get more PHP-Versions.

    PHP 7.2 and 7.1 are functioning just 5.6 will not, "503 Service not available".


    Path to PHP-FPM Pool directory: /opt/php-5.6/etc/php-fpm.d
    That dir is not there

    PHP 5.6 seems installed.

    [email protected]:/opt/php-5.6/bin# ./php --version

    PHP 5.6.33 (cli) (built: Nov 4 2018 11:42:03)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

    Before I do something wrong, if I make this directory, what permissions should it have and what is supposed to be inside it?

    regards,
    Jan
     
  2. ahrasis

    ahrasis Well-Known Member

  3. janvl

    janvl New Member

    Hi ahrasis,
    I know that, but I was hoping to add 5.4 as well and that is not supported in the PPA from Ondrej Sury.
    Any idea of the - Path to PHP-FPM Pool directory: /opt/php-5.6/etc/php-fpm.d
    and what should be in it?

    Reagrds,
    Jan
     
  4. janvl

    janvl New Member

    SOLVED
    I have made the directory - same owner and group as in 7.1 , root root.
    Then
    systemctl enable php-5.6-fpm.service
    systemctl daemon-reload
    systemctl start php-5.6-fpm.service

    with
    service php-5.6-fpm status
    it is running and functional!

    Now let me see if I get 5.4 in it!

    Regards,
    Jan
     

Share This Page