Now that Aptana is configured, you will download a helper extension that will aid you in turning debugging on and off. In Aptana’s “Project Explorer” tab, navigate to your website’s root folder, then right click…Īnd then a “project” version of the web site is created in Aptana… In order for Aptana to recognize a local website as a debuggable thing, you must first designate it as a “Project”: Applications/MAMP/bin/php/php5.5.14/conf/php.ini (This is the file you configured earlier) Your “PHP ini” file path may be different depending on your version of PHP. Applications/MAMP/bin/php/php5.5.14/bin/php (Unix Executable File) Your “Executable path” may be different depending on your version of PHP. This example will cover configuring Aptana, specifically. But the next step will be more specific depending on the IDE you are using to edit code. So far, the configuration steps have been pretty generic. If you successfully configured the php.ini file, then you should see something similar to the following on your phpinfo page: Remember the phpinfo page that you accessed in the first step?. Verify that you successfully configured php.iniīefore your configuration changes can take effect, you must turn off MAMP, then turn it on again. Now that the built-in debugger is activated, you will have to add in a few more configuration lines.Īll-together, your section should look like this: Zend_extension="/Applications/MAMP/bin/php/php5.5.14/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so" The full line will have a different path depending on your PHP version so don’t worry if your line isn’t exactly the same: Remove the comment from the beginning of the “ zend_extension=…” line to activate it. Applications/MAMP/bin/php/php5.5.14/conf/php.iniĭirectly under this heading, you should see a line that begins with “ zend_extension=…”. Applications/MAMP/bin/php/php/conf/php.ini The path to the php.ini file will look similar to this: ini file for a different version depending on your version of PHP. You will need to use the PHP version from the previous step to find out which php.ini file to edit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |