[OpenIndiana-discuss] Unable to create the PID file (/var/run/php-fpm.pid: permission denied
Till Wegmüller
toasterson at gmail.com
Wed Aug 20 19:03:41 UTC 2025
Hi Dan
The Service usually runs as unprivileged user, so if you change the pid
location to /var/run you will want to make sure this location actually
has permissions setup right. Leaving it as the default or updating the
recipe in oi-userland is usually the better approach to get things to
the "right" locations and in the process fix that for everyone.
mysql is packages as extension package for php under
pkg:/web/php-84/extension/php-mysql so you will want to install that.
Check for possible extensions with `pkg search -rp php` and install all
extensions with `pkg install 'pkg:/web/php-82/extension/*'`
Greetings
Till
On 8/20/25 11:00, dan via openindiana-discuss wrote:
> Hello again,
> and sorry for this one more in report mode.
>
> php 8.3 related (and maybe to all the other php versions):
> I set up my php-fpm.conf to store pid file in /var/run/ (as it should be) but
> the *service sup* fails to do so and stop the php service:
> Unable to create the PID file (/var/run/php-fpm.pid: permission denied (13)
> [..]
> The service has been placed in mainstanance status.
>
> php 8.2 seems to miss the binary mysqli.so in the proper extensions folder.
>
> thx
>
> Dan
> 5mode
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list