PHP&&錯誤錄

unable to bind listening socket for && No such file or directory

#問題:
/etc/init.d/php7.2-fpm restart
 * Restarting PHP 7.2 FastCGI Process Manager php-fpm7.2                                                                                                                                [fail] 
vim /var/log/php7.2-fpm.log 
    [12-Mar-2020 10:33:00] ERROR: unable to bind listening socket for address '/run/php/php7.2-fpm.sock': No such file or directory (2)
    [12-Mar-2020 10:33:00] ERROR: FPM initialization failed
#解決方法:mkdir -p /run/php
mkdir -p /run/php     
#啓動服務                                           
/etc/init.d/php7.2-fpm restart
 * Restarting PHP 7.2 FastCGI Process Manager php-fpm7.2                                                                                                                                [ OK ]
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章