Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

cinameng's avatar

php-fpm crashes every 10s

I have a Laravel Valet installation on my macOS 11.6.1

Laravel Installer 4.1.1 PHP v8.0.12 nginx/1.21.4

I can see in my console that php-fpm crashses every 10s

11:52:13.422003+0000 ReportCrash com.apple.message.domain: com.apple.crashreporter.writereport.crash com.apple.message.signature: php-fpm com.apple.message.signature2: UNBUNDLED ||| ??? (0) com.apple.message.signature3: UNKNOWN com.apple.message.result: NO com.apple.message.summarize: YES SenderMachUUID: 0C37ACAB-B1BC-3BFB-AA6E-3707A345481E

11:52:23.431070+0000 ReportCrash com.apple.message.domain: com.apple.crashreporter.writereport.crash com.apple.message.signature: php-fpm com.apple.message.signature2: UNBUNDLED ||| ??? (0) com.apple.message.signature3: UNKNOWN com.apple.message.result: NO com.apple.message.summarize: YES SenderMachUUID: 0C37ACAB-B1BC-3BFB-AA6E-3707A345481E

I've previously had a php7 installation with XAMMP that I no longer use.

Does anybody know how can I check to see whether Laravel uses php-fpm and if it does what can I do to resolve this issue?

Thanks James

0 likes
6 replies
Tray2's avatar

What does your nginx config file look like?

cinameng's avatar

@Tray2

nginx.conf

user "me" staff;
worker_processes auto;

events {
worker_connections  1024;
}

http {
include mime.types;
default_type  application/octet-stream;

sendfile on;
keepalive_timeout  65;
types_hash_max_size 2048;

client_max_body_size 512M;

server_names_hash_bucket_size 128;

ssi on;

gzip  on;
gzip_comp_level 5;
gzip_min_length 256;
gzip_proxied any;
gzip_vary on;
gzip_types
application/atom+xml
application/javascript
application/json
application/rss+xml
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/svg+xml
image/x-icon
text/css
text/plain
text/x-component;

include "/Users/me/.config/valet/Nginx/*";
include servers/*;
include valet/valet.conf;
}
cinameng's avatar

my php-fpm.log file states

dyld: Library not loaded: /usr/local/opt/tidy-html5/lib/libtidy.5.dylib Referenced from: /usr/local/opt/[email protected]/sbin/php-fpm Reason: image not found

I'm currently using php8 and assume this is from my previous install

cinameng's avatar

@Tray2

thanks for pointing that out I did not see it intially

so php -v returns php8

I've simply uninstalled php7.2 and that seems to have resolved the issue

Please or to participate in this conversation.