mamp

How do I rename MAMP web server?

拟墨画扇 提交于 2019-12-08 05:13:46
问题 Is there any way to change my MAMP server address from localhost to anything else, or am I stuck with localhost as the name? 回答1: localhost is a hostname that resolves to your local computer. If you're running a webserver on your local computer, localhost will resolve to that service. On any other computer, localhost will not resolve to your webserver, but to that specific computer. If you want to add another hostname that resolves to your local computer, you can edit the hosts file and add

MAMP PHP 5.6.2 mssql.so extension not installing

可紊 提交于 2019-12-08 03:25:47
问题 I'm having trouble installing the mssql.so extension in MAMP on Yosemite. I've followed the following tutorial multiple times, with no luck: http://blog.benjaminwalters.net/?p=10 I'm using PHP v5.6.2 ; therefore, used/compiled the 5.6.2 version from source when following that section of the tutorial. I've placed the mssql.so library file in the extensions directory as instructed and added the appropriate extension=mssql.so line to the correct version of the php.ini file as displayed from the

MAMP Pro - updating phpMyAdmin issue

被刻印的时光 ゝ 提交于 2019-12-08 01:59:48
问题 I am having an issue after updating my MAMP Pro to the latest phpMyAdmin (4.0.0). The error is: Unknown language: en-iso-8859-1. How do I resolve this? I attempted to edit config.inc.php by removing the en- part of the language and charset conversion settings. I have edited both config.inc.php files in Applications/MAMP/bin/phpMyAdmin , and /Library/Application Support/appsolute/MAMP PRO/ directories. I am still encountering the issue. What else do I need to check? 回答1: I had the same problem

NodeJS and MAMP running on local machine. Is it possible?

ぐ巨炮叔叔 提交于 2019-12-08 01:55:25
问题 Is it possible to have NodeJS and MAMP running together on the same machine? If so how would i achieve this? Note: I can run them separately just not together. I assume its down to my NodeJS using the "localhost" as well as MAMP. 回答1: You can setup Proxy and a host. for example create node01.example.com in Hosts. Then Go to Advanced and enter the following in "Customized virtual host general settings" ServerAlias node01.example.com <Location /> ProxyPass http://127.0.0.1:3000/

Mongo PHP Driver 1.2.10 with MAMP

筅森魡賤 提交于 2019-12-08 01:04:24
问题 I'm trying to get the latest Mongo Driver to work with MAMP 1.9.6 on OS X 10.5.8. I built it successfully from source since it seems that there are no pre-compiled releases, included it into the right directory and restarted the apache. But PHP doesn't recognize the extension. I used the 1.0.11 driver previously which worked fine, but I need the new version, because Doctrines ODM requires it. When I replace the 1.2.10 mongo.so with the 1.0.11 and restart apache mongo is available. I don't get

Mongo PHP Driver with MAMP

*爱你&永不变心* 提交于 2019-12-07 18:48:29
I spent 2 days trying to install mongo php driver on a Mac 10.8 with MAMP (2.2), but it's almost impossible... I've tried: Installing Mongo Driver on MAMP and this Mongo PHP Driver 1.2.10 with MAMP I have the 5.4.19 php version selected on MAMP. I have installed the mongo driver doing: sudo pecl install mongo I have no errors, but once I restart MAMP I got this error on the loading process: PHP Warning: PHP Startup: mongo: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 The output of

Laravel Can't Connect to database - Migrations - Error 2002

和自甴很熟 提交于 2019-12-07 16:59:19
问题 I have searched for a couple of hours now, and still am unable to find this. I get 2 errors, if I use the database host as 'localhost' , I get this error: [PDOException] SQLSTATE[HY000] [2002] No such file or directory and if I change the database host to '127.0.0.1' I get this error: [PDOException] SQLSTATE[HY000] [2002] Connection refused Things I have tried: changing where the apache / mysql server is run (either user or `josh (Apache) / josh (MySQL) changing the port that MySQL runs on in

localhost refused to connect - MAMP Pro

风格不统一 提交于 2019-12-07 12:24:51
问题 There seem to be a few questions that are similar but could not find the answer. An hour ago (and the months before that :-)) everything was working fine. It looks like after updating to XCode 9.2 things stopped working. I've justed updated to MacOS High Sierra 10.13.2 as there were some Apache updates included, but it didn't solve the issue. Maybe the XCode update changed something to the httpd.conf file? I'm not too familiar with the settings in there, so I'm unable to determine if

Laravel 5.1 - Connecting to MySQL Database (MAMP)

匆匆过客 提交于 2019-12-07 11:36:39
问题 There are topics online that are discussing this problem however, I couldn't find any tidy explanation of the problem or any solid answers for the question. What I am trying to achieve is connecting Laravel 5.1 to MySQL Database of MAMP. In my config>app.php: 'default' => env('DB_CONNECTION', 'mysql'), 'mysql' => [ 'driver' => 'mysql', 'host' => 'localhost:8889', 'database' => 'test', 'username' => 'root', 'password' => 'root', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'unix

Updating MAMP to PHP 5.4.8

南楼画角 提交于 2019-12-07 08:23:41
问题 I used this guide How do you upgrade MAMP's PHP to PHP 5.3 ? to update my PHP-Version on MAMP but it does not work. I'm not sure if I did everything right. I downloaded php 5.4.8 und put the folder into MAMP -> conf and renamed it to php5.4.8 to make it even with the other PHP Folders in there. Than I followed the guide, but got the following error: Binarys-MacBook-Air:~ BinaryCoder$ cd /Applications/MAMP/conf/php5.4.8 Binarys-MacBook-Air:php5.4.8 BinaryCoder$ ./configure --with-mysql=