PHP ERROR: Unable to create the PID file (/usr/var/run/php-fpm.pid).: No such file or directory (2)

简介: PHP ERROR: Unable to create the PID file (/usr/var/run/php-fpm.pid).: No such file or directory (2)

[06-Nov-2020 14:56:56] ERROR: Unable to create the PID file (/usr/var/run/php-fpm.pid).: No such file or directory (2)
[06-Nov-2020 14:56:56] ERROR: FPM initialization failed

如果报错这个,那是因为没有找到 php-fpm.pid 文件,一般报这个错误是因为文件权限问题,解决办法我写在了 Mac Nginx 关联 php 详细配置以及常见错误 里面,进去搜索一波就行。

相关文章
|
Ubuntu Linux PHP
PHP8报:Unable to load dynamic library ‘zip.so’ 错误
通过上述步骤,可以解决PHP 8中“Unable to load dynamic library ‘zip.so’”错误。确保正确安装和配置 `zip`扩展,并验证其是否正确加载,可以有效避免和解决此类问题。
1037 16
|
PHP Windows
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
467 1
|
PHP
php 使用phpize报错Cannot find config.m4. Make sure that you run ‘/usr/bin/phpize‘ in the top l
php 使用phpize报错Cannot find config.m4. Make sure that you run ‘/usr/bin/phpize‘ in the top l
980 1
|
PHP
php+ajax传file文件数据
php+ajax传file文件数据
265 0
|
应用服务中间件 PHP nginx
PHP ERROR: failed to open error_log (/usr/var/log/php-fpm.log): No such file or directory (2)
PHP ERROR: failed to open error_log (/usr/var/log/php-fpm.log): No such file or directory (2)
446 1
|
JSON 前端开发 PHP
dataType:'json'时post,总是调用error???附带php和json的一些坑
ajax是一个不错的东西 当dataType:'json'时提交,总是返回error 这是为什么? 经过折腾,终于发现因为要求的是json,返回的信息并不是json格式,因此总是出错
302 0
|
缓存 前端开发 PHP
PHP - Laravel The stream or file “/storage/logs/.“ could not be opened in append
PHP - Laravel The stream or file “/storage/logs/.“ could not be opened in append
895 0
/usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Err
/usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit statusmake: *** [sapi/cgi/php-cgi] Error 1 解决办法:  yum install *ltdl*
2600 0