我刚刚购买了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