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

Zend Developer Zone:
Z-Ray Tip #4: Getting Rid of It!
Jan 29, 2016 @ 16:44:14

On the Zend Developer Zone they've posted the fourth part in their series of tips around using the Z-Ray profiling tool in your PHP applications. In this fourth tip they show you how to "get rid of it" in certain parts of your application.

Well, while Z-Ray is a great friend to have when developing your apps, there are just some parties you don’t want it to show up at. You might be using PHP scripts for accessing static pages. Or, you might not want Z-Ray to be displayed for one specific request. In production, you most definitely don’t want Z-Ray popping up for users using your app!

There are numerous ways to disable Z-Ray both in development and in production to make sure your development workflow is not interrupted and your live apps are not affected. Here are a few of them.

They include a few different ways to disable the tool including the use of a function call in the code (zray_disable), using a header in the HTTP request and, naturally, from the Z-Ray toolbar itself. They also talk about setting it up to be removed for production in one of two modes, either selective (only showing for certain requests) and completely disabled.

tagged: zray tip disable development production api get header selective

Link: http://devzone.zend.com/7149/z-ray-tip-4-getting-rid-of-it/

John Mertic's Blog:
PHP Windows Installer 1 year old (almost)
Jul 11, 2007 @ 14:29:00

According to a new post on John Mertic's blog the PHP Windows installer is celebrating its one year anniversary (as of July 24th, 2007).

I am always looking for any suggestions for improvements to the installer. I'm also curious how people are using it; is it just for personal development, or is there anyone using it to deploy to a group of desktops or servers?

According to the original message on the php.internals list, John based it off of the functionality of the installer of Phil Driscoll with extra features like selective installation of components, automatic configuration of the php.ini and that it's made as a MSI file (scriptable and open source).

tagged: windows installer anniversary selective install component windows installer anniversary selective install component

Link:

John Mertic's Blog:
PHP Windows Installer 1 year old (almost)
Jul 11, 2007 @ 14:29:00

According to a new post on John Mertic's blog the PHP Windows installer is celebrating its one year anniversary (as of July 24th, 2007).

I am always looking for any suggestions for improvements to the installer. I'm also curious how people are using it; is it just for personal development, or is there anyone using it to deploy to a group of desktops or servers?

According to the original message on the php.internals list, John based it off of the functionality of the installer of Phil Driscoll with extra features like selective installation of components, automatic configuration of the php.ini and that it's made as a MSI file (scriptable and open source).

tagged: windows installer anniversary selective install component windows installer anniversary selective install component

Link:


Trending Topics: