PHP-FPM Database Connecting Issues
When I enable FPM for an account, that accounts PHP can no longer connect to mysql using localhost. PDO reports this error:
SQLSTATE[HY000] [2002] No such file or directory
When I disable FPM, it is able to connect with no changes.
We have MariaDB 10.2. Everything is compiled through WHM/EasyApache.
Any ideas?
-
keeping the FPM enabled for the account and while browsing website check the mysql error logs and that will give you an idea of whats happening 0
Please sign in to leave a comment.
Comments
2 comments