• dimal

    (@dimalifragis)


    After spending a week to debug my problems with some fatal white screen of death problems, i found the cause.

    WP Supercache install/activate CHANGES the wp-config.php permissions from 644 to 600.

    That creates some fatal errors not appearing at WP debug.log but to server logs.

    2019-08-14 14:09:03.685978 [NOTICE] [13561] [173.*******:36300] [STDERR] PHP Fatal error: require_once(): Failed opening required ‘/home/wp-config.php’ (include_path=’.:/opt/cpanel/ea-php56/root/usr/share/pear’) in /home/wp-load.php on line 37

    2019-08-14 14:09:03.685968 [NOTICE] [13561] [173.*******:36300] [STDERR] PHP Warning: require_once(/home/wp-config.php): failed to open stream: Permission denied in /home/wp-load.php on line 37

    Took me a week to find this out. Tried so many things to find this out.

    The cache plugin SHOULD NOT change ANY permissions IN ANY SITE.

Viewing 1 replies (of 1 total)
  • I think I might have had the same error.

    cPanel error logs:

    2019-10-07 04:06:03.482740 [NOTICE] [2529149] [x.x.x.x:39342] [STDERR] PHP Warning: require_once(/home/user/public_html/wp-config.php): failed to open stream: Permission denied in /home/user/public_html/wp-load.php on line 37

    2019-10-07 04:06:03.482776 [NOTICE] [2529149] [x.x.x.x:39342] [STDERR] PHP Fatal error: require_once(): Failed opening required ‘/home/user/public_html/wp-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/user/public_html/wp-load.php on line 37

    My wp-config.php has 0400 permissions, and it normally works just fine, but somehow WP Super Cache messed with it and I got an internal server error 500 as a result. I’m not 100% sure, but there’s a high probability that WP Super Cache caused this error.

Viewing 1 replies (of 1 total)
  • The topic ‘WP Super Cache and wp-config 600’ is closed to new replies.