![]() ![]() Give the PHP Interpreter a Name and select a Debugger.Click the '+' button and select /usr/bin/php (default for Mac OS X 10.7 Lion).Click the '.' button next to Interpreter.Start PhpStorm and open PhpStorm -> Preferences -> PHP. ![]() Note: You may need to enable Web Sharing in System Preferences if you want to host php files from your local mac Restart the apache service for the change to take effect:.By default Apple ships a /private/etc/ file which can be renamed to php.ini using this command: Next we need to enable the php.ini file.Uncomment the line and save the file using Ctrl-x.Edit the /etc/apache22/nf file and uncomment the libphp line.Validate that php is installed by running which php at the command prompt.Thread about how XCode 4.3 is missing autoconf.Does not install CLI Tools by default in 4.3.Help getting PHP working on Mac OS X Lion 10.7.3.Once the tools were in place PhpStorm integrated nicely.Įdit: See Article 2 for information on how to debug PHP Web Applications Most of the effort involved setting things up on the Mac OS X side of things. It took a bit more effort to get PHP Debugging setup on my Mac dev box and I want to call out the step-by-step process I went through to it working. The JavaScript pieces work flawlessly out of the box- I'm able to debug in Firefox or Chrome on either my Mac or Windows Development box. I've been trying out JetBrains PhpStorm to see how well I'm able to use it for JavaScript and PHP Development work (PhpStorm is a Super set of WebStorm, their JavaScript IDE). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |