php-fpm problem

Discussion in 'Installation/Configuration' started by Amin El-Zein, Oct 16, 2019.

  1. Amin El-Zein

    Amin El-Zein New Member

    Hello,
    I install ispconfig with last patches …. I create a website and enable php-fpm.
    I add test.php to show php status. it's work fine .
    when I open my wordpress websitei get 500 internal error.
    I tried to check ispconfig error file I get:
    Code:
    [proxy_fcgi:error] [pid 4428]  AH01071: Got error 'PHP message: PHP Warning:  require_once(/var/www/clients/client1/web4/web/wp-config.php): failed to open stream: Permission denied in /var/www/clients/client1/web4/web/wp-load.php on line 37\nPHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/clients/client1/web4/web/wp-config.php' (include_path='.:/usr/share/php') in /var/www/clients/client1/web4/web/wp-load.php on line 37\n'
    
    so what I can do ?
     
  2. Jesse Norell

    Jesse Norell Well-Known Member

    Check file ownership and permissions of wp-config.php.
     
  3. Amin El-Zein

    Amin El-Zein New Member

    yes , that is right the problem was from files and folders permissions.
    thanks.
     

Share This Page