On 24/04/2024 15:11, Justin Parrott wrote:
You can do PHP with cgi but its far more efficient to use the php-fpm package which runs PHP using the fastCGI protocol which is supported by most web servers. I use apache, but any HTTP server supporting the protocol should work.I mean that this works: /usr/libexec/httpd -b -U nobody -C .php /usr/pkg/libexec/cgi-bin/php /var/www/ and this does not: /usr/libexec/httpd -b -U nobody -C .php /usr/pkg/bin/php /var/www/-- best regards, Alexeyhttps://alexeyka.zantsev.com/ <https://alexeyka.zantsev.com/>
Mike