So were just prepping for some summer updated and I updated PHP from 7.2.32 to latest 7.4.20 release and not Moodle wont boot at all. Get "Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting." Error.
If I make the PHP v7.2.x files live again everything works perfectly. What changed in the new PHP version to break this???
Also tried latest PHP v.7.3.28 with same issue.
Yes the permission on 'moodledata' folder are correct and I even re-applied them just to make sure. I'm really stumped.
PHP location is the C:\php\ I'm just moving the v7.2 or v7.4 files in/out of that folder to upgrade. PHPinfo file loads perfectly, just Moodle wont.
Any ideas? I've been banging my head for 2 days now and haven't gotten any further.
Thanks in advance,