Re: [Komodo-discuss] Installing PHP Local Debugging on a Mac with Komodo
by Jeff Griffiths other posts by this author
Apr 1 2008 2:58PM messages near this date
view in the new Beta List Site
Re: [Komodo-discuss] Installing PHP Local Debugging on a Mac with Komodo
|
[Komodo-discuss] 4.3.1 Find/Replace
Well, for quick and easy PHP remote debugging on the Mac, you could do
far worse than use MAMP. All MAMP is doing for you though is neatly
packaging Apache, MySQL and PHP for local use.
Where this falls down is if you also need to run other things like
Python or Rails, ro if you want to compile Apache modules.
If that's the case, you might be better served installing all that stuff
using Macports or Fink, although it is a lot more work. I do 99% of my
web programming using PHP currently, so MAMP suites me fine.
HTH, Jeff
Eric Robertson wrote:
> Hi Jeff
>
> That worked a treat, thanks. I did as you suggested and Komodo picked up the
> interpreter. However I might want to do some remote debugging of PHP so it
> sounds as if I'll have to do as you suggest in the blog and download the
> MAMP PHP5 interpreter?
>
> Regards
> Eric
>
> > -----Original Message-----
> > From: Jeff Griffiths [mailto:jeffg@[...].com]
> > Sent: Monday, March 31, 2008 6:49 PM
> > To: Eric Robertson
> > Cc: Komodo-Discuss@Listserv. ActiveState. Com
> > Subject: Re: [Komodo-discuss] Installing PHP Local Debugging on a Mac with
> > Komodo
> >
> > Hi Eric,
> >
> > Welcome to the Mac cult! Answers below:
> >
> > Eric Robertson wrote:
> >> I'm new to Macs and I'm trying to install PHP debugging in Komodo 4.3
> >> on my MacBook Pro which has Leopard 10.5.2 installed. Komodo hadn't
> >> installed PHP debugging automatically so I tried the Config Wizard.
> >> It seems that a PHP interpreter is at both /usr/bin/ and at /usr/local/
> >> php5/bin/ with only the first of these being in the drop down list - I
> >> didn't know how to find out what was in the PATH variable.
> > '/usr/bin/php' won't work because Apple ships a crippled php binary. For
> > the gory details:
> >
> > http://www.openkomodo.com/blogs/jeffg/php-leopard-or-how-use-mamp-instead
> >
> > At least you probably have a working php installed. All you should need
> > to do to configure it is, in
> >
> > Preferences / Languages / PHP
> >
> > ...browse and select that php interpreter. Komodo should at his point
> > automagically configure PHP for local debugging. Do *not* run the
> > wizard, and ensure the field 'path to alternate php.ini' is *blank*.
> >
> > Does this work?
> >
> > As an aside, if you want to add paths to Komodo's running environment,
> > you can do this at
> >
> > Preferences / Environment
> >
> > You could for example add /usr/local/php5/bin to your PATH
> >
> > cheers,
> >
> > Jeff
> >
> > --
> > blog: http://www.openkomodo.com/blogs/jeffg
> > web: http://www.ActiveState.com
>
>
> _______________________________________________
> Komodo-discuss mailing list
> Komodo-discuss@[...].com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
--
blog: http://www.openkomodo.com/blogs/jeffg
web: http://www.ActiveState.com
_______________________________________________
Komodo-discuss mailing list
Komodo-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
Thread:
Eric Robertson
Jeff Griffiths
Eric Robertson
Jeff Griffiths
|