zend framework auto switch production staging test .. etc

Posted by user284503 on Stack Overflow See other posts from Stack Overflow or by user284503
Published on 2010-03-24T18:52:05Z Indexed on 2010/03/24 18:53 UTC
Read the original article Hit count: 546

What do I change to switch from production to staging.. etc.. and where.. Bootstrap ?

Also, Curious if anyone has configured their Zend Framework to automatically switch from production, staging, test.. etc based on Host information..

example..

 if (hostname = 'prodServer') ... blah
 if (hostname = 'testServer') ... blah

I'm new to Zend but I typically configure my projects to automatically switch run environments based on the host information.

thanks

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about environment