Skip to content
Advertisement

Tag: macos

WordPress localhost ftp

I have wordpress running on my localhost on mac Lion. Everytime I try to install or delete plugins it asks me for hostname, ftp username and ftp password. I configured my localhost to 127.0.0.1, but …

Switch between PHP versions on OS X Mountain Lion

Is it possible to have multiple versions of PHP installed on OS X Mountain Lion and freely change between them? Similar to the way MAMP allows you to. I’m wanting to get out of using MAMP and this is really the only feature holding me back. Answer Here’s a great blog post about Maintaining two versions of PHP with MacPorts.

change the PHP path to MAMPs PHP

I’m running PHP with MAMP on OSX 10.5.8 So if I want to run a script from console I always need to write which is annoying. Is there a way to change the default path to php so that I can write and still uses MAMPs PHP version? Answer Create a file called .bash_profile on your home directory (if you

Advertisement