WP Super Cache and wp-config 600
-
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.
- The topic ‘WP Super Cache and wp-config 600’ is closed to new replies.