phil_vbulletin3_import41220
New Member
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:\[code\]php -r 'set_include_path(get_include_path() . PATH_SEPARATOR . "/var/www/.../Zend/library")';\[/code\]After \[code\]var_dump\[/code\]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:\[code\]ZF_INCLUDE_PATH_PREPEND="/var/www/.../Zend/library"\[/code\]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 \[code\]set_include_path('/var/www/.../Zend/library')\[/code\] into zf.php file and the tool stopped throwing 'wrong include_path' error. In fact it sopped printing any output. When executing command \[code\]zf create project test\[/code\] it does nothing. ~/.zf folder wasn't created.
I added \[code\]set_include_path('/var/www/.../Zend/library')\[/code\] into zf.php file and the tool stopped throwing 'wrong include_path' error. In fact it sopped printing any output. When executing command \[code\]zf create project test\[/code\] it does nothing. ~/.zf folder wasn't created.