Ralph Schindler wrote:


I have added the following symbolic links:
/usr/share/php/Zend => /usr/share/zend-framework/1.8.0b2/library/Zend/
/usr/local/bin/zf -> /usr/share/zend-framework/1.8.0b2/bin/zf.sh

Early on, we found a problem with having links in the include_path so at current, they are not supported at current.

So, you have 2 options

  a) copy ZF to your include_path
OR
  b) set the environment variable
      ZEND_TOOL_INCLUDE_PATH="/usr/share/zend-framework/1.8.0b2/library/"


That will ensure that it only uses the ZF library and knows where (Exactly) it is.

I will in the mean time revisit the linking issue.

When the manual is updated, the above setup is documented inside the Zend_Tool_Framework section.

Let me know if that works for you!


-ralph


Thanks - that worked perfectly.

I've tried it with the following three examples and all worked perfectly. The first two contain links ('Zend/' and 'latest/') and the third is the canonical path:
export ZEND_TOOL_INCLUDE_PATH=\
    "/usr/share/php/Zend/"; zf
export ZEND_TOOL_INCLUDE_PATH=\
    "/usr/share/zend-framework/latest/library/"; zf
export ZEND_TOOL_INCLUDE_PATH=\
    "/usr/share/zend-framework/1.8.0b2/library/"; zf

Actually the first one doesn't even point to the top of the Zend library but works anyway.


Thanks again,
James.


Reply via email to