Several of my PHP (7.2) apps stopped working this morning if they use include_once or require_once, but they worked fine yesterday. The same code also works fine on the same server, but other domains with minimal difference in vhost configs and no htaccess files (Apache 2.4). Also, things work if I chase down the error and remove “_once” from everything. I’ve been using PHP for almost 20 years and never seen anything like this. The error I get looks like the following, but it happens for any include_once/require_once.
include_once(): Failed opening ‘/whatever_path/whatever_file.php’ for inclusion (include_path=’.:/usr/share/php’) in /another_path/another_file.php on line 24
PLEASE HELP!