mamp

Error starting apache from terminal after removing MAMP

半腔热情 提交于 2019-12-03 07:07:20
I removed MAMP recently. When I try to start apache from Terminal using: sudo apachectl -k restart I am getting the message Warning: DocumentRoot [usr/docs/dummy-host.example.com] does not exist. First, make sure you're actually trying to execute the proper version of apachectl by issuing the following command: which apachectl (You don't want to see any MAMP references there). Next, find your virtual hosts config (which is likely here if your MAMP references are gone) /etc/apache2/extra/httpd-vhosts.conf Make sure your virtual host definitions are good. (Sounds like you're referencing a bad

MAMP local host not working

女生的网名这么多〃 提交于 2019-12-03 06:04:54
My MacBook Pro 13 inch is running on OS X 10.8.2 and I have downloaded MAMP 2.1.4. I want to run the MAMP program. After I connect to the servers successfully I then try to press the 'open start page'. It takes me to the Google Chrome browser with a page that says the page can't be found. I've installed MAMP and am running the Apache server and MySQL servers fine through either port 80 and 3306 or 8888 and 8889 - using either combination makes the status lights go green. The local host can't be found for some reason. I have done extensive research where I have: uninstalled and reinstalled MAMP

Resolved: MAMP Php can't exec ('convert') after Homebrew ImageMagick install

痴心易碎 提交于 2019-12-03 05:53:02
问题 I installed Imagemagick using Homebrew on Lion, everything is fine except that it doesn't work at all when being called from php. Console: $ convert -version Version: ImageMagick 6.7.1-1 2011-07-29 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC Features: OpenMP $ which convert /usr/local/bin/convert PHP: echo exec ('convert -version'); or exec('convert -version', $output); var_dump($output); Produces nothing (or an empty array). exec ('/usr/local/bin

Where does Sequel Pro / MAMP store local databases?

天大地大妈咪最大 提交于 2019-12-03 05:51:35
问题 I had a few databases created on my computer via Sequel Pro & MAMP, and was running localhost to view them. However, I did a fresh install of Mac OS Lion, and I forgot to backup the databases to .sql files. I do backup my files regularly, and have a copy of the computer pre-install. Does anyone know the path to the db files? Are they stored in a format that I could rebuild, so I could import into Sequel Pro? 回答1: Brian W's answer didn't really help with me using MAMP Pro (v2.1.4), but luckily

How to install Image Magick for MAMP (Pro) on Mountain Lion (10.8.2)

◇◆丶佛笑我妖孽 提交于 2019-12-03 05:51:21
问题 I've been searching for a way to install Image Magick on my Mountain Lion setup (where I use MAMP Pro). I did find this article, but it isn't specific to ML. Also found a couple other similar questions here on SO but they were too specific I think. Doesn't help that I'm not great at this sort of thing. Can anyone point me to a good resource? 回答1: Make sure you check out Joel Farris' answer if you're using an up-to-date version of MAMP I finally managed to get it installed properly using

setup PostgreSQL with Laravel in MAMP

早过忘川 提交于 2019-12-03 04:05:02
I am using MAMP on my MAC. As it comes with MySQL by default. But now I need to use PostgreSQL in one of my project. How can I setup postgreSQL in MAMP for Laravel project? Ok if you are set on using postgreSQL over mySQL that comes with MAMP you have to manually install postgreSQL on you location machine the OSX packages can be found here , If you don't want to do a full install i recommend this Postgres App just download an extract to your applications folder then when you launch it the port number will be displayed in the menu bar like so: create a database: go to menu above Click on Open

Reset MySQL root password to “default” - MAMP

本秂侑毒 提交于 2019-12-03 03:45:46
I changed my root level password on phpMyAdmin. I was unsure where to enter the password itself, as it did not give me the option (login form). I wondered if it was the php.ini file but users with read privileges could read it if I placed the password in there. Now, the mysql doesn't run as I tried various online resources to fix the problem. If needs be I would delete mamp and re-install but I do not want to lose my database files. Ideally I would revert the password to default, which I believe was nothing, except now I cannot connect to phpmyadmin, or the mamp start page: Error: Could not

Running Pow & MAMP Pro Simultaneously

感情迁移 提交于 2019-12-03 03:21:48
问题 I just switched from using Passenger to using POW because I didn't have to run the Apache server to run rails apps on POW. But I'm not having luck running MAMP Pro and POW simultaneously. Anyone have any luck running both MAMP Pro and POW? 回答1: There is another way that I prefer. You don't have to mess with scripts or anything —much. The downside is, you need to have MAMP Pro running to access your Pow apps. First, if you have Pow installed (which, in your case, you do), uninstall it with

MAMP Pro: Apache couldn't be started because the port was already in use

匿名 (未验证) 提交于 2019-12-03 03:03:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When attempting to start my servers, Apache fails to start, and MAMP claims that the port ([::]:8888) is already in use. I have tried virtually every way I know of determining what process is using that port (as well as many of the solutions previously listed on SO), but I get no results. Neither lsof or netstat list anything about port 8888. There does not appear to be anything using this port at all. I need to either improve my search and find what(if anything) is really using the port, or somehow convince MAMP that the port is not

Apache not starting in MAMP (but MySQL working) in OSX

房东的猫 提交于 2019-12-03 03:01:33
问题 I've had MAMP working for a few months and recently installed PostgreSQL. It recommended installing Apache as well, which I did to make sure PostgreSQL worked. I then uninstalled PostgreSQL and the apache build and tried to restart MAMP. It fired up the MySQL database (green light) but Apache didn't start. I uninstalled and reinstalled MAMP only to face the same problem. Apache doesn't seem to be logging any errors in the MAMP folder, so without any errors to report I'm struggling with where