【发布时间】:2012-08-26 15:08:39
【问题描述】:
我一直在尝试更新我的包含路径以包含 phpDocumentor,但无论我在 php.ini 文件中放置了什么,phpInfo 都会显示相同的信息。
有谁知道 Zend 从哪里获取它的包含路径?
我发布了关于设置 PHPdocumentor 的问题(进行中)
https://stackoverflow.com/questions/12130630/phpdocumentor-cannot-open-php-doc-in-a-zend-setup
但是其他 Zend 用户可能对我无法在 PHP.ini 中更新包含路径的问题感兴趣,所以我想我会将这个次要问题删除到另一篇文章中。
我在 php.ini (windows) 中的包含路径如下所示...
include_path = ".;c:\Program Files (x86)\PHP\includes;\c:\Program Files (x86)\Zend\ZendServer\lib;\C:\Program Files (x86)\PHP\PEAR;\c:\zendServer\rental\public\phpDocumentor-2.0.0a10"
但是 Zend 服务器上的 PHP 信息看起来像这样(本地)...
C:\Program Files (x86)\Zend\ZendServer\GUI/library;C:\Program Files (x86)\Zend\ZendServer\GUI/application\CE/models
AND(主)
C:\Program Files (x86)\Zend\ZendServer\share\ZendFramework\library
我尝试重新启动服务器和计算机无效,因此 Zend 似乎从其他地方获取了它的包含设置。过去有人遇到过这种情况吗?
【问题讨论】:
标签: zend-framework php