0
在我的webapp /的index.php我已經定義的include_path如下圖所示:致命錯誤:類「的Zend 表格元素」未找到
<?php
set_include_path(implode(PATH_SEPARATOR, array(
'C:\Program Files\NetBeans 7.1.2\php\library',
get_include_path()
)));
require_once 'Zend\Form\Fieldset.php';
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<?php
#do something with Fieldset class;
?>
</body>
</html>
但我一直當我運行收到此錯誤信息該文件:
Fatal error: Class 'Zend\Form\Element' not found in C:\Program Files\NetBeans 7.1.2\php\library\Zend\Form\Fieldset.php
感謝您的幫助。