我剛剛購買了Zend Studio 9的許可證。我對Zend框架的使用經驗很少,以前沒有Zend Studio的經驗。我使用http://framework.zend.com/manual/en/作爲該框架的教程,並瀏覽了位於http://www.zend.com/en/products/studio/resources的資源,以獲得演播室軟件的幫助。默認的索引控制器沒有被新的Zend Studio項目調用
我的主要問題是,使用zstudio創建新的Zend項目後,我沒有看到最初的歡迎消息。下面是我使用的步驟:
我已經安裝了Zend服務器並確認網絡應用程序都是工作(做了一些測試文件,它們都正確解析)。
使用Zend Studio創建一個新項目。
a。文件 - >新建 - >本地PHP項目 b。對於位置,我使用的是C:\ Program Files \ Zend \ Apache2 \ htdocs。
c。對於版本我使用默認的「Zend Framework 1.11.11(內置)」我去http://localhost:81/projectname。而不是被調用的默認索引控制器,我只看到我的目錄結構。
加成信息: 操作系統:Windows 7 PHP版本:5.3
錯誤日誌:
>[Wed Nov 30 14:32:30 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
>[Wed Nov 30 14:32:30 2011] [warn] pid file C:/Program Files (x86)/Zend/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
>[Wed Nov 30 14:32:30 2011] [notice] Digest: generating secret for digest authentication ...
>[Wed Nov 30 14:32:30 2011] [notice] Digest: done
>[Wed Nov 30 14:32:31 2011] [notice] Apache/2.2.16 (Win32) mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
>[Wed Nov 30 14:32:31 2011] [notice] Server built: Aug 8 2010 16:45:53
>[Wed Nov 30 14:32:31 2011] [notice] Parent: Created child process 13788
>[Wed Nov 30 14:32:32 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
>[Wed Nov 30 14:32:32 2011] [notice] Digest: generating secret for digest authentication ...
>[Wed Nov 30 14:32:32 2011] [notice] Digest: done
>[Wed Nov 30 14:32:33 2011] [notice] Child 13788: Child process is running
>[Wed Nov 30 14:32:33 2011] [notice] Child 13788: Acquired the start mutex.
>[Wed Nov 30 14:32:33 2011] [notice] Child 13788: Starting 64 worker threads.
>[Wed Nov 30 14:32:33 2011] [notice] Child 13788: Starting thread to listen on port 10081.
>[Wed Nov 30 14:32:33 2011] [notice] Child 13788: Starting thread to listen on port 81.
該文件不存在。這裏是我的目錄結構是什麼樣子: #.buildpath #。項目 #.settings/ #.zfproject.xml #應用程序/ #文檔/ #庫/ #公共/ #測試/ 我將指令添加到我的本地主機,但做完後,Apache不會重新啓動。 –
那麼'public/.htaccess'不存在?這是你的問題的一部分。您不需要在httpd.conf中添加指令,只需確保''包含index.php。默認情況下,它只包含index.html –
drew010