Fresh install of 6.4 : php72_fpm fail to start : 

    pkg_add php-7.2.10
    rcctl enable php72_fpm
    rcctl -d start php72_fpm
        doing _rc_parse_conf
        doing _rc_quirks
        php72_fpm_flags empty, using default ><
        doing _rc_parse_conf /var/run/rc.d/php72_fpm
        doing _rc_quirks
        doing rc_check
        php72_fpm
        doing rc_start
        doing _rc_wait start
        doing rc_check
        [08-Nov-2018 18:56:52] WARNING: Nothing matches the include pattern 
'/etc/php-fpm.d/*.conf' from /etc/php-fpm.conf at line 125.
        [08-Nov-2018 18:56:52] ERROR: No pool defined. at least one pool 
section must be specified in config file
        [08-Nov-2018 18:56:52] ERROR: failed to post process the configuration
        [08-Nov-2018 18:56:52] ERROR: FPM initialization failed
        doing _rc_rm_runfile
        (failed)


Indeed, the file /etc/php-fpm.conf ends at : 

        include=/etc/php-fpm.d/*.conf

On previous php version, there was a pool preconfigured : 

        ; Start a new pool named 'www'.
        ; the variable $pool can be used in any directive and will be replaced 
by the
        ; pool name ('www' here)
        [www]
        ...
        ...


Not sure if that's a bug or a feature? Then, maybe updating the
/usr/local/share/doc/pkg-readmes/php-7.2 file with instructions could be handy.


Regards.
-- 
    thuban

Reply via email to