ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> komodo-discuss
komodo-discuss
Re: [Komodo-discuss] Installing PHP Local Debugging on a Mac with Komodo
by Jeff Griffiths other posts by this author
Mar 31 2008 10:49AM messages near this date
view in the new Beta List Site
[Komodo-discuss] Installing PHP Local Debugging on a Mac with Komodo | 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
Thread:
Eric Robertson
Jeff Griffiths
Eric Robertson
Jeff Griffiths

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved