Solved php_fmp problem

I have problem to start php_fpm.

When i start it i get following error:

Starting php_fpm.
Segmentation fault (core dumped)
/usr/local/etc/rc.d/php-fpm: WARNING: failed to start php_fpm

Proces is started, but apache just shows empty page with php sources inside instead of executing them.

Not sure how to find out what is causing the issue, i wasn't able to google solution.

Please advice, any help appreciated.

(freebsd12, php7.3, apache)

Code:
content of /usr/local/etc/php-fpm.d/www.conf

;listen = 127.0.0.1:9000 to

listen = /var/run/php-fpm.sock

listen.owner = www

listen.group = www

listen.mode = 0660


Code:
content of /etc/rc.conf
php_fpm_enable="YES"
 
Back
Top