junkiesgogl.blogg.se

Mamp for mac 10.7
Mamp for mac 10.7






mamp for mac 10.7
  1. #Mamp for mac 10.7 mac os x
  2. #Mamp for mac 10.7 password
  3. #Mamp for mac 10.7 download

#Mamp for mac 10.7 password

Set thePassword to do shell script ("security find-generic-password -wl \"MAMP\"")ĪppleScript to obtain user name and password using the security command in Terminal Set theUserName to do shell script ("security find-generic-password -l \"MAMP\" | grep \"acct\" | cut -c 19-99 | sed 's/\"//g'") # get the user name and password using the security Terminal command The same can be achieved using the security command in Terminal: Repeat with x from 1 to (length of theKeyList)ĪppleScript to obtain user name and password using Usable Keychain Scripting Set theKeyList to every generic item of current keychain whose name is "MAMP"

mamp for mac 10.7

Tell application "Usable Keychain Scripting" # get the user name and password using Usable Keychain Scripting Using Usable Keychain Scripting the following AppleScript will grab the Account Name and Password for the keychain item named MAMP and assign each to a variable:

mamp for mac 10.7

The two alternatives methods I mentioned earlier for accessing the keychain using AppleScript are Red Sweater’s Usable Keychain Scripting and the security command in Terminal. Enter the Account Name and Password you use to login into your computer and click Add. Open Keychain Access.app in the /Applications/Utilities folder:Īdding a new keychain item in Keychain AccessĮnter the Keychain Item Name. We’ll see two alternative methods later, but first we need to create a new item in our keychain.

#Mamp for mac 10.7 mac os x

Prior to Mac OS X Lion it could be found in /System/Library/ScriptingAdditions/. Unfortunately, as of Mac OS X Lion the Keychain Scripting.app is no longer included. To overcome this security issue a new item can be added to the users keychain and made available to the AppleScript using Keychain Scripting. Saving this AppleScript as an Application and adding it to the Login Items will work but it has one major problem the PASSWORD and USERNAME are stored in plain text.ĭo shell script "/Applications/MAMP/bin/startApache.sh &" password PASSWORD user name USERNAME with administrator privilegesĭo shell script "/Applications/MAMP/bin/startMysql.sh"ĪppleScript to start MAMP’s Apache and MySQL servers with user name and password stored in plain text Not ever having had any success using a launch daemon with MAMP the only alternative appeared to be AppleScript. However, I prefer using the standard ports for Apache: 80 and MySQL: 3306 and doing so requires I enter a password when MAMP starts as port 80 is a privileged or well-known port. Well, they will be if using the default MAMP ports for Apache: 8888 and MySQL: 8889. As I’ve not found a solution to this, the script should no longer be used. Consequently, MAMP is unable to stop any httpd processes started by the script. The script is unable to use this helper tool. Start by unzipping the autoconf-2.68.tar.: Recent versions of MAMP use a helper tool to start/stop Apache (httpd) if bound to a privileged port below 1024. If you don't have autoconf on your machine then you use the one supplied on the MAMP Server components and libraries. Unzip it to the /Applications/MAMP/bin/php/php5.4.4/include/php/ folder (create the folders if they don't exist).

#Mamp for mac 10.7 download

You can download them on php.net website. Then you'll need the MAMP Server components and libraries and the php source files, since the MAMP Server components and libraries doesn't bring the php 5.4.4 used on the options available (we are aiming for php 5.4.4!). So, how can we enable it and make it work?įirst of all you'll need Xcode and Command Line Tools. You can check if your phpinfo has SSL Support enabled on the imap group. I'm not sure if it works the same way on other versions, but you can leave a comment about it 🙂

mamp for mac 10.7

Just for the record, I'm posting this in the current version of MAMP, that is 2.1.1 and in the Mountain Lion OSX 10.8.1 version. Unfortunately MAMP doesn't come with imap ssl support by default and GMail needs it when you are connecting through imap.








Mamp for mac 10.7