2009年10月9日星期五

[fw-server] zf tool gives lots of include errors

I currently have zend server ce installed on about 5 machines but on all of them the zf tool spits out hundreds of include errors when run due to incorrect permissions.

Here's a small snippet:
Warning: include_once(): Failed opening '/usr/local/zend/share/pear/PEAR/Frontend' for inclusion (include_path='.:/usr/local/zend/share/ZendFramework/library:/usr/local/zend/share/pear') in /usr/local/zend/share/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning:  include_once(/usr/local/zend/share/pear/PEAR/Command): failed to open stream: Permission denied in /usr/local/zend/share/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90

It seems the zf.php and zf.sh files are owned by root:root

What users should it run as?
This is a bog standard server-ce install and I'm surprised this doesn't work out of the box.

没有评论: