Я включил вывод ошибок и вот что есть
"Warning: require_once(/home/z/z92616gy/z92616gy.beget.tech/public_html/account/boot.php): failed to open stream: No such file or directory in /home/z/z92616gy/z92616gy.beget.tech/public_html/account/regscr.php on line 7 Fatal error: require_once(): Failed opening required '/home/z/z92616gy/z92616gy.beget.tech/public_html/account/boot.php' (include_path='.:/usr/share/php') in /home/z/z92616gy/z92616gy.beget.tech/public_html/account/regscr.php on line 7 "
Я прочитал только про "require_once(/home/z/z92616gy/z92616gy.beget.tech/public_html/account/boot.php): failed to open stream: No such file or directory in /home/z/z92616gy/z92616gy.beget.tech/public_html/account/regscr.php on line 7 Fatal error: require_once(): Failed opening required "
но в коде require_once __DIR__.'/boot.php';
т.е boot.php находиться в корневой директории а php ищет его в /accounts/
"Warning: require_once(/home/z/z92616gy/z92616gy.beget.tech/public_html/account/boot.php): failed to open stream: No such file or directory in /home/z/z92616gy/z92616gy.beget.tech/public_html/account/regscr.php on line 7 Fatal error: require_once(): Failed opening required '/home/z/z92616gy/z92616gy.beget.tech/public_html/account/boot.php' (include_path='.:/usr/share/php') in /home/z/z92616gy/z92616gy.beget.tech/public_html/account/regscr.php on line 7 "
Я прочитал только про "require_once(/home/z/z92616gy/z92616gy.beget.tech/public_html/account/boot.php): failed to open stream: No such file or directory in /home/z/z92616gy/z92616gy.beget.tech/public_html/account/regscr.php on line 7 Fatal error: require_once(): Failed opening required "
но в коде
require_once __DIR__.'/boot.php';
т.е boot.php находиться в корневой директории а php ищет его в /accounts/