[請益] Zend framework 新增專案Fatal error
如題
我是用centos 6.0, 依照http://framework.zend.com/的教學步驟
輸入完這指令: zf create project (專案名稱)
就跑出
Fatal error: Class 'PHPUnit_Framework_TestCase' not found in
/usr/share/php/Zend/Test/PHPUnit/ControllerTestCase.php on line 48
有哪位大大知道如何解決這個錯誤嗎?
-------------------------------------------------------------------
ControllerTestCase.php
abstract class Zend_Test_PHPUnit_ControllerTestCase extends
PHPUnit_Framework_TestCase
{ <<<< line 48
/**
* @var mixed Bootstrap file path or callback
*/
--------------------------------------------------------------------
另外想請問一個很基本的小問題:
使用php zend framework 要如何生成/設定網站首頁呀???
我連怎麼用MVC生出 index.html 都不知道 = =+
model/view/controller 都照教學去做
打開localhost 卻還是 apache的首頁畫面...
或者httpd.conf 關鍵地方調整錯了呢
應該不是直接新增index.html到: /var/www/html/ 這裡面吧!?
感謝前輩大大解惑~~!!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 211.22.203.31
※ 文章網址: https://www.ptt.cc/bbs/PHP/M.1445493935.A.B36.html
PHP 近期熱門文章
PTT數位生活區 即時熱門文章