search

Home  >  Q&A  >  body text

Error when installing php on linux!

unable to bind listening socket for address '/run/php/php7.1-fpm.sock' no such file or directory

Start command: sudo /etc/init.d/php7-fpm start

This error is reported when php starts!

PHP中文网PHP中文网2785 days ago874

reply all(2)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-16 13:14:14

    Did you install it as root when you installed it?
    From here it seems that the socket connection cannot be created, mainly because the /run/php/php7.1-fpm.sock file cannot be created, probably because it does not have permissions or something.

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-16 13:14:14

    Create the directory manually mkdir -pv /run/php/

    reply
    0
  • Cancelreply