サーバー管理とPHPは初めてなので、お詫びします。これは本当に私を立ち往生させています。EC2サーバーを再起動しましたが、それでもうまくいきません。
PHPファイル
<?php
require_once "System.php";
var_dump(class_exists('System', false));
?>
ターミナル(動作します)
[ec2-user@domU-12-31-39-10-26-22 current]$ php phpcheck.php
bool(true)
ブラウザ-ファイルが見つかりません
Warning: require_once(System.php): failed to open stream: No such file or directory in /etc/httpd/opt/app/current/phpcheck.php on line 2 Fatal error: require_once(): Failed opening required 'System.php' (include_path='.:/home/ec2-user/pear/share/pear') in /etc/httpd/opt/app/current/phpcheck.php on line 2