I run 14.2-RELEASE-p3 amd64
I've tried both php installed with pkg and compiled from ports but everytime when I add
to httpd.conf apache it wouldn't and when I try to start php-fpm I get:
Both commands
don't display a single word.
FPM gives me this
and
gives me full version of phpinfo()
Where to look for error?
I've tried both php installed with pkg and compiled from ports but everytime when I add
Code:
LoadModule php_module libexec/apache24/libphp.so
Code:
# service php_fpm start
Performing sanity check on php-fpm configuration:
/usr/local/etc/rc.d/php_fpm: WARNING: failed precmd routine for php_fpm
Code:
root@...#/usr/local/bin/php -m
root@...#/usr/local/bin/php -i
root@...# php -r 'phpinfo();'
root@...#
FPM gives me this
Code:
# /usr/local/sbin/php-fpm -v
PHP 8.4.6 (fpm-fcgi) (built: Apr 21 2025 14:20:34) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.6, Copyright (c) Zend Technologies
Code:
# /usr/local/sbin/php-fpm -i
Where to look for error?