You can put the new application in the Login Items (System Preferences -> Users & Groups -> Login Items), so the Apache server and MySQL start automatically without even showing up the MAMP-App at startup (silent start). There might be an issue with the correct file path as MAMP apparently changed startmySQL.sh to startMysql.sh in some version, so double check if it's not working! Quit MAMP (make sure servers are stopped) Open Apache configuration page 'c:nf' (with a text editor) Locate line 'Listen 80'. Alternatively, you can press the button with Set Web & MySQL. You might tick run-only to prevent other users from reading the plain text as a small security measureĭo shell script "/Applications/MAMP/bin/startApache.sh &" password "YOURPASSWORD" user name "YOURUSERNAME" with administrator privilegesĭo shell script "/Applications/MAMP/bin/startMysql.sh > /dev/null 2>&1" In the field for the Apache port, type in 80, and then click OK to save the change. Enter the following code replacing YOURPASSWORD and YOURUSERNAME with your user credentials Open XAMPP look below the X to close the program there is a Config option click it then click service and port settings then under Apache change your main port to whatever you changed it to in the config file then click save and your good to go.If it could get the password from OS X Keychain / Keyring, the annoying popup could be avoided.Īs found on Macworld and already mentioned by Tom in the other answer there is a way with applescript! Downside is you have to save your user credentials in plain text. Port 80 is the default HTTP port that Apache us. When the Server starts/stops it will ask for the admin password each time. XAMPP is a set to tools that allow you to set up an Apache server in your PC along with more functionalities. It's in German but the Google translation is: Looks like living-e moved their bug tracker, the new link to this issue is: If youre working on unix: service apache22 start service apache22 stop (commands for apache 2.2) on windows: net stop apache2.2 net start apache2.2 (commands for apache 2. The link is here: (requires registration) if you want to follow it.Īnother update: Still following this issue. change the 80 here again to your desired port. Unexpected used port 80 on macOS with 'It works' result. If you do not have apache, but have this problem try. It can be apache, but it can be something else as well. Update: I pestered Living-e support and got them to add it as a feature request to their bug tracker. If some service defines that it will listen to port 80, launchd will reserve it during the initial boot. According to a living-e rep they are considering adding an option to store the password in the keychain: Update On 3.1.6 version of WAMP right click on the wamp server icon in the taskbar select 'tools'-> 'Port used by Apache:80' -> 'use a port other than 80', an input box will pop up, input a new port in itclick confirm button, then restart wamp.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |