Error when installing php on linux!
PHP中文网
PHP中文网 2017-05-16 13:12:14
0
2
863

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中文网

认证高级PHP讲师

reply all(2)
我想大声告诉你

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.

给我你的怀抱

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template