开发者

problem with PHP on console / MAMP after updating MACOSX

i've updated my MACOSX 10.6 and since then, i've not been able to use the PHP console version from MAMP.

php -v returns me 5.3.3 which is the PHP i've compiled and i want to use the one from MAMP

I've already done :

 export PATH=$PATH:/Applications/MAMP/bin/php5.3/bin

and creating a .bash_profile and a .profile filean开发者_运维技巧d i put in it : /Applications/MAMP/bin/php5.3/bin

without any results

echo $PATH returns :

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin


Did you reload the profile after altering .bash_profile?

source ~/.bash_profile

(or .profile if you use that one)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜