[TxMt] Re: How to config the internal TM preview browser to run the MAMP PHP engine?
talklists at newgeo.com
Thu May 14 23:54:41 UTC 2009
On May 14, 2009, at 3:44 PM, sohdubom wrote:
> but still not there yet ...
> 1. I created the .bash_profile following your instructions:
> ....then echo $PATH returned:
> ....as expected, but
> ....which php returned:
> 2. and running phpinfo() within TM still points:
> .... PhpMate r11069 running PHP 5.2.6 (cli) (/usr/bin/php)
> any ideas?
From the `man which` command
which -- locate a program file in the user's path
This to me leads me to suspect that /Applications/MAMP/conf is not
where php really is.
Can you try:
$which -a php
This will list all the locations of php it knows about.
Can you also do:
ls -la /Applications/MAMP/conf
It looks like the MAMP people have decided to store things in some
interesting (IMHO) places. Try editing your path to this:
Put that as the last line in your profile, replacing the other one
Scott * If you contact me off list replace talklists@ with scott@ *
More information about the textmate