5 启动Zend Studio For Eclipse 并且新建项目
启动 Zend Studio for Eclipse
File --> New --> Zend Framework Project -> Project Name: test -> Finish
6 在Apache中加入新项目
单击托盘里WampServer小图标 --> Apache --> ALIAS目录 --> 添加一个ALIAS
输入url: test
输入项目地址:http:\localhost\test
(注,貌似这步可有可无,因为我后来我另建一个项目,并没有执行该步,仍然可以显示结果)
7 在浏览器输入http://localhost/test/ 或者http://localhost/test/html/index.php
前者的结果是输出三个目录application/,html/,library/
而后者如果在第四步出现错误的话,会出现以下错误: Warning: require_once(Zend/Controller/Front.php) [function.require-once]: failed to
open stream: No such file or directory in ......
Fatal error: require_once() [function.require]: Failed opening required
'Zend/Controller/Front.php' (include_path='.;C:\php5\pear') in ......
满心欢喜,输入地址,结果还是出现了: Warning: require_once(Zend/Controller/Front.php) [function.require-once]: failed to
open stream: No such file or directory in ......
Fatal error: require_once() [function.require]: Failed opening required
'Zend/Controller/Front.php' (include_path='.;C:\php5\pear') in ......