NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: webserver with PHP support




El 23 de abril de 2024 21:07:58 CEST, Alexey <slackway2me%gmail.com@localhost> 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 this does not:
>    /usr/libexec/httpd -b -U nobody -C .php /usr/pkg/bin/php /var/www/
>

Hello,

I think  /usr/pkg/bin/php is the command line interface and /usr/pkg/libexec/cgi-bin/php the CGI command.

Regards
Ramiro.


Home | Main Index | Thread Index | Old Index