You are not logged in.

#1 2023-10-20 20:49:00

loranto
Member
Registered: 2022-11-02
Posts: 13

php-fpm loose /var/run/php/ after reboot

What could remove that folder?
It's the folder where it put the socket.
Everytime I reboot, I need to:

$ sudo mkdir -p /var/run/php/
$ sudo chown -R user:http /var/run/php/

Offline

#2 2023-10-20 20:52:32

loqs
Member
Registered: 2014-03-06
Posts: 18,928

Re: php-fpm loose /var/run/php/ after reboot

/var/run is a sym link to /run which is tmpfs backed.

Offline

#3 2023-10-21 06:29:38

loranto
Member
Registered: 2022-11-02
Posts: 13

Re: php-fpm loose /var/run/php/ after reboot

loqs wrote:

/var/run is a sym link to /run which is tmpfs backed.

So I need to manually create a script for that folder?

Offline

#4 2023-10-21 07:17:07

loqs
Member
Registered: 2014-03-06
Posts: 18,928

Re: php-fpm loose /var/run/php/ after reboot

loranto wrote:

So I need to manually create a script for that folder?

Possibly.

loranto wrote:

It's the folder where it put the socket.

What is the it that creates the socket?  How is php started?  XY_problem

Offline

Board footer

Powered by FluxBB