Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mauricio Cuenca's Blog:
Two (or more) Zend Framework projects on a shared host
Mar 26, 2009 @ 13:46:17

The Zend Developer Zone has pointed out a recent blog post from Mauricio Cuenca showing how to run two (or more) Zend Framework applications on one account on a shared hosting environment.

Shared hosting environments can be a nightmare when it comes to PHP Web Development, specially in testing stages. Yes, I know one should not be using and paying for a hosting plan if the code is still not production ready, but I have seen some cases. I will try to show how to have the Zend Framework installed with as many projects as you want (if your server quota allows you to) in the same web space and all these projects sharing the same ZF copy.

He includes his basic directory structure - separate directories for each of the projects - and the boostrap code to keep the requests for that application inside of the correct directory (setting the LIBRARY_PATH, APP_PATH and CONTROLLERS_PATH).

tagged: zendframework project application multiple shared hosting

Link:


Trending Topics: