まず第一に、私は初心者です。wampサーバーにzendフレームワークを正常にインストールしました。私のインクルードパスは次のとおりです。
include_path ="。;E:\ wamp \ bin \ php \ zend_framework \ library"
プロジェクト名「mehedi」を作成しました。しかし、mehedi / application /ディレクトリにあるBootstrap.phpファイルを参照すると、次のエラーが表示されます。
Fatal error: Class 'Zend_Application_Bootstrap_Bootstrap' not found in E:\wamp`\www\mehedi\application\Bootstrap.php on line 4`
mehedi / public / index.php以外の他のphpファイルを参照すると、致命的なエラーが表示されます。
すべてが大丈夫ですか、それとも私は何か重要なことを見逃しました。
mehedi / application / configs/application.iniファイルのアプリケーション構成は次のとおりです。
[production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
[staging : production]
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1