Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Amazon ec2 サーバーに Cakephp をインストールしようとしたときに、次のエラーが発生しました。
致命的なエラー: /usr/share/nginx/html/lib/Cake/Model/ConnectionManager.php の 107 行目で、自己参照定数 'Mongo::VERSION' を宣言できません
現在、PHP 5.3.23 と MongoDB バージョン 2.4.3 を使用しています。
事前に助けてくれてありがとう
その中にファイルを追加しphpinfo();、Mongo php ドライバーがインストール済みでアクティブとしてリストされているかどうかを確認します。
phpinfo();