Hello,
Is it possible to install and use ZF (+ its console tool) without access to include_path direcotory? I've tried adding the ...Zend/library direcotry into include_path but without success.
I did it this way:
php -r 'set_include_path(get_include_path() . PATH_SEPARATOR . "/var/www/.../Zend/library")';
After var_dump
ing result of the function above it returned old include_path which should mean success. But next call of get_include_path() returned the old path too.
I've also tried to set the environment variable:
ZF_INCLUDE_PATH_PREPEND="/var/www/.../Zend/library"
There is our company framework in the old include_path directory so I can't (even if I could I should't) copy there the ZF library.
I think a proper framework shouldn't rely on any global PHP settings as include_path is. I think it should be possible to set the include path somewhere in ZF internal configuration file.
edit:
I added set_include_path('/var/www/.../Zend/library')
into zf.php file and the tool stopped throwing 'wrong include_path' error. In fact it sopped printing any output. When executing command zf create project test
it does nothing. ~/.zf folder wasn't created.