Re: webserver with PHP support

2024-04-26 Thread Alexey
Thanks to all. Yes, I know about php-fpm, but bozohttpd seems not to be able to support it. I'm just playing. No high load, no production environment. > 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 >

Re: webserver with PHP support

2024-04-25 Thread Mike Pumford
On 24/04/2024 15:11, Justin Parrott wrote: 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, Alex

Re: webserver with PHP support

2024-04-24 Thread Justin Parrott
bin/php is probably for the shell or something libexec is probably what you want from httpd On Wed, Apr 24, 2024 at 1:21 AM Alexey wrote: > Hello list, > tell me please what's the difference between > > /usr/pkg/libexec/cgi-bin/php > and > /usr/pkg/bin/php > > I mean that this works: >

Re: webserver with PHP support

2024-04-24 Thread Ramiro Aceves
El 23 de abril de 2024 21:07:58 CEST, Alexey escribió: >Hello list, >tell me please what's the difference between > >/usr/pkg/libexec/cgi-bin/php >and >/usr/pkg/bin/php > >I mean that this works: >/usr/libexec/httpd -b -U nobody -C .php >/usr/pkg/libexec/cgi-bin/php /var/www/ > >and