![]() ![]() Now you can use any app that understands those cachegrind.out files to view the profile data. You can open the ‘/tmp’ directory in finder by opening the terminal and running open /tmp Open your ‘/temp’ directory and run one of your PHP files to make sure it is working correctly. If you used the same settings that I have above, when you run PHP code, Xdebug will put the cachegrind.out files in your ‘/tmp’ directory. Doing a search in the browser window for “Xdebug” makes this easy. ![]() Check to make sure that Xdebug is running. Open MAMP’s WebStart page and navigate to PHPInfo tab. Save edited template and close edit window Now when you have errors, if they are sent to standard out, you will see something like this If you don’t want profile output and just want xdebug running then use DONT REMOVE: MAMP PRO php5.3.6.ini template compatibility version: 1 Zend_extension="/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so" Edit the template file via File -> Edit Template -> PHP -> PHP php.iniĮdit bottom of php.ini template file so that it ends up looking like if you want profile output Here's the tutorial that helped me:Įdit php.ini template file through MAMP to enable the extension. Since release of MAMP 2.01 XDebug is already included. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |