Locally Profiling a PHP Script
This procedure describes how to Profile a PHP Script from your workspace
using Zend Studio
's internal debugger:
To locally Profile a PHP Script:
Click the arrow
next to the Profile button
on the toolbar and select Open Profile Dialog -or- from the
main menu go to Run | Open Profile Dialog -or-right-click
in PHP Explorer view and select Open Profile Dialog.
A Profile dialog
PHP Script option to create a new Profile configuration.
Enter a name for
the new configuration.
Ensure that the
PHP Executable setting is selected under the Debugger Location
Select the required
Under PHP File,
click Browse and select the required file.
Click Apply and
dialog will be displayed asking whether you want to open the
Click Yes. (If you would like the Profiling Perspective to
open by default in the future, mark the 'Remember my decision'
Profiling Perspective will open, displaying the Profiling Monitor
window with various Profiling views.
See PHP Profile Perspective
for more on the information displayed once a profile session has
If the file contains 'include' or 'require' calls to
files which are not contained within the project, you must add
them to the project's Include Path in order to simulate your production