0

Im new to server administration so forgive me if the answer is obvious. I noticed that in different tutorials in the web people use different directory/location for the pool sock in php-fpm(On CentOS 7). I've seen those: 1.

  1. unix:/var/run/php-fpm/www.sock;
  2. unix:/run/php-fpm/www.sock;

And both directories contain the same files. So wich one is the right one? (i asume there is no better, but why two identical folders?).

Samuel E.
  • 177
  • 2
  • 6

1 Answers1

0

They are effectively the same place as /var/run is a symlink to /run

ls -l /var/run
lrwxrwxrwx 1 root root 4 Dec 15 11:20 /var/run -> /run

You can therefore use either interchangeably.

user9517
  • 115,471
  • 20
  • 215
  • 297