NetBSD-Users archive

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

Re: webserver with PHP support



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 <slackway2me%gmail.com@localhost> 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:
    /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, Alexey
https://alexeyka.zantsev.com/



--
renegade6969666%gmail.com@localhost
https://www.facebook.com/profile.php?id=61556020800880
https://twitter.com/Rose29283220654


Home | Main Index | Thread Index | Old Index