Skip to main content

PHP-FPM Can Not Connect to Mysql through LOCALHOST, only 127.0.0.1

Comments

3 comments

  • cPanelLauren
    Hi @Mike Grotton That seems odd, what's in the .htaccess for the domain? Also, have you discussed this issue with your provider? It's possible they have some configurations that are preventing this from working as intended.
    0
  • sparek-3
    What is in /etc/hosts It would seem to me that php-fpm is not reading /etc/hosts or there is something misconfigured in /etc/hosts
    0
  • cPanelLauren
    What is in /etc/hosts It would seem to me that php-fpm is not reading /etc/hosts or there is something misconfigured in /etc/hosts

    My assumption as well but after looking at the cPanel Access Level for him I believe he would need to go through his provider for assistance with this.
    0

Please sign in to leave a comment.