I have started learning Zend Framework, Now I have created few almost 6 projects for practice, and in the library of each project i have copied the Zend Folder. Is there a way I can put this Library folder or library/Zend folder at a common place and include it through some other way, which can save my disk space.
Share
You can put it anywhere and add it to the include path in php.ini,
or add it to the include path in you index.php at runtime, right before you start making calls to the bootstrap:
http://php.net/manual/en/function.set-include-path.php
This way you do not have to rely on modifying php.ini, if you’re deploying to a hosting that does not allow it.