shivammathur/homebrew-php

php status always error at brew services

hmztraders2022 opened this issue · 5 comments

Hello,
I found that the status of my php was always an error, then I have tried to stop the service then start it again.
I have repeatedly tried to uninstall then reinstall it.
I have also followed several solutions that I found, but I still haven't found the right solution.
maybe you can help me to solve this problem

like the screenshot below

image

thanks

@hmztraders2022

Please check the logs here $(brew --prefix)/var/log/php-fpm.log.

@shivammathur
i found php-fpm log with code IDE /usr/local/var/log/php-fpm.log
but i not found log for php@5.6
image

if i use brew --prefix /usr/local/var/log/php-fpm.log showing the error, no available formula
image

From the logs it looks like php-fpm.conf is missing. Please reinstall php, link it again and check that the file exists and restart the php-fpm service.

Please reopen if you are still facing the issue.