debian9 php7 nginx install problem

Discussion in 'Developers' Forum' started by sanyi, Jun 10, 2017.

  1. sanyi

    sanyi New Member

    I probe debian9 with nginx ispconfig-dev but install config file ( install/dist/conf/debian90.conf.php ) nginx part refer old php5-fpm paths. I created simple patch to php7.0-fpm, after no problem the install script starting php fpm service:
    --- install/dist/conf/debian90.conf.php 2017-06-10 09:35:59.331911899 +0200
    +++ install/dist/conf/debian90.conf.php 2017-06-10 09:14:12.162704631 +0200
    @@ -203,11 +203,11 @@
    $conf['nginx']['init_script'] = 'nginx';
    $conf['nginx']['vhost_port'] = '8080';
    $conf['nginx']['cgi_socket'] = '/var/run/fcgiwrap.socket';
    -$conf['nginx']['php_fpm_init_script'] = 'php5-fpm';
    -$conf['nginx']['php_fpm_ini_path'] = '/etc/php5/fpm/php.ini';
    -$conf['nginx']['php_fpm_pool_dir'] = '/etc/php5/fpm/pool.d';
    +$conf['nginx']['php_fpm_init_script'] = 'php7.0-fpm';
    +$conf['nginx']['php_fpm_ini_path'] = '/etc/php/7.0/fpm/php.ini';
    +$conf['nginx']['php_fpm_pool_dir'] = '/etc/php/7.0/fpm/pool.d';
    $conf['nginx']['php_fpm_start_port'] = 9010;
    -$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
    +$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php7.0-fpm';

    //* OpenVZ
    $conf['openvz']['installed'] = false;

    --
    sanyi
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thank you for the patch. Debian 9 is not supported and tested yet, we will test it and add config files for it in the next ISPConfig release.
     

Share This Page