-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doing the same here, I usually recognize the production enviroment from
the HTTP_HOST.
...................................
:  ___   _   ___ ___ ___ _ ___    :
: |   \ /_\ / __| _ \ _ (_)   \   :
: | |) / _ \\__ \  _/   / | |) |  :
: |___/_/:\_\___/_| |_|_\_|___/   :
:........:........................:
: Web    : http://www.dasprids.de :
: E-mail : [EMAIL PROTECTED]       :
: Jabber : [EMAIL PROTECTED]     :
: ICQ    : 105677955              :
:........:........................:


Julien Pauli schrieb:
> Personnaly, I use some kind of Apache setEnv + php's $_SERVER to push my
> app in prod mode.
> 
> Julien.P
> 
> 2008/11/19 Terre Porter <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>
> 
>     This would depend on the programmer and the style he/she used.
> 
>     For example, I used the zend studio MVC bootstrap/initializer style
>     in my
>     project.
> 
>     You might have something like this in the bootstrap.php in you app dir.
>     Could also be in the index.php in the web root, if not using a bootstrap
>     file.
> 
>     $frontController->registerPlugin(new Initializer('development'));
> 
>     All I have to do is change development to production, and I'm out of dev
>     mode. But I'd look in the initializer file to make sure, to see if
>     it has to
>     be something specific.
> 
>     Sorry to say, but you'll just have to track it down.
> 
>     I'd start looking at the index.php and any configs that are loaded.
>     It would
>     be in the beginning of the application.
> 
>     Terre
> 
>     -----Original Message-----
>     From: MrEMan [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>]
>     Sent: Wednesday, November 19, 2008 11:50 AM
>     To: [email protected] <mailto:[email protected]>
>     Subject: [fw-general] How the heck do you go into production mode?
> 
> 
>     I've been developing a Zend app for awhile now. It's a project I adopted
>     from a previous contractor and I am not the one responsible for
>     deploying
>     it.
>     I've recently encountered a production bug and really need to run
>     the app in
>     production mode locally to figure this out.
> 
>     How do I run my Zend Framework app in production? It must be obvious,
>     because it doesn't seem to be documented _anywhere_.
> 
>     Thanks
>     --
>     View this message in context:
>     
> http://www.nabble.com/How-the-heck-do-you-go-into-production-mode--tp2058403
>     1p20584031.html
>     
> <http://www.nabble.com/How-the-heck-do-you-go-into-production-mode--tp20584031p20584031.html>
>     Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkklRy8ACgkQ0HfT5Ws789A5NwCfaMy+fXlqb723oCAK4X4WHUSn
nCcAnjlkfPqFDs7s88/R894w72WZaXWT
=RT6s
-----END PGP SIGNATURE-----

Reply via email to