mamp

Access phpmyadmin over lan using mamp

拥有回忆 提交于 2019-12-07 08:20:29
问题 We are trying to set up a Mamp Pro installation ( on Mac ) which allows us to access PhPmyAdmin over the lan. We can access the htdocs folder to edit it's contents using standard sharing so that is not a problem. The problem is that we can't seem to the access the PhPmyAdmin of this installation. I've googled for several hours trying to make this work and now I'm trying here. I found several cases where they explain that you can access your phpMyAdmin via this: http://ip-ofserver:8888/MAMP

Mamp localhost resolving very slowly

烈酒焚心 提交于 2019-12-07 05:28:26
问题 When I make local changes to my PHP / WordPress website, the localhost does not seem to update for 20-30 minutes. I'm on Mac OSX 10.8.4 and using MAMP Pro. I have two sites that I have created separate host entries for, let's call them mysite1.dev and mysite2.dev . Here is my MAMP Server configuration: Apache: 80 MySQL: 3306 SSL: 443 I saw this article ( How can I eliminate slow resolving/loading of localhost/virtualhost (a 2-3 second lag) on Mac OS X Lion? ) on the Bonjour conflicts and

PHP xmlrpc extension and MAMP

ぐ巨炮叔叔 提交于 2019-12-07 03:20:45
问题 I am trying to get the xmlrpc extension to work for php5 in MAMP (1.8.4). I checked what version of PHP 5 was installed: $ /Applications/MAMP/bin/php5/bin/php -v PHP 5.2.11 (cli) (built: Dec 12 2009 13:19:08) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies I downloaded the PHP 5.2.11

SQLSTATE[HY000][2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known

ぐ巨炮叔叔 提交于 2019-12-06 23:08:50
问题 My problem: I use MAMP and Git to view and edit my PHP files with SQL database connection on my mac and then push it to the web server. I recently added a file directory. Here is the file with the SQl database connection: <?php ob_start(); session_start(); //set timezone date_default_timezone_set('America/New_York'); //database credentials define('DBHOST','mysql.hostinger.co.uk'); define('DBUSER','u536535282_evan7'); define('DBPASS','...'); define('DBNAME','u536535282_dbsql'); //application

MAMP / PHP.INI: “date.timezone” setting in phpinfo() shows “no value” even though the value is set in php.ini

廉价感情. 提交于 2019-12-06 22:52:00
问题 Greetings to StackOverflow gurus! Here's the issue I'm struggling with. I run phpinfo() in MAMP, and the resulting table shows "no value" in both columns of the date.timezone row. Additionally, the page displays the following: Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning,

How to build mongo.so or PHP with the correct module api version

ε祈祈猫儿з 提交于 2019-12-06 16:10:57
Trying to install mongoDB on my MAMP setup. I have MAMP 3.05, which comes with PHP 5.5.10. Installed mongo using the instructions from the mongo website and it seems to be running properly. Grabbed mongo extension from the mongo github page and followed their instructions for building and adding the extension to php.ini. Everything seems ok until I restart MAMP. In php_error.log, I see this: PHP Warning: PHP Startup: mongo: Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 It looks like

Sphinx 2.0.4 Install Error with MAMP 2.0: Can't Find MySQL Headers

那年仲夏 提交于 2019-12-06 13:58:04
问题 Developing locally in MAMP and need Sphinx to work with MAMP's MySQL. Basically hitting a dead end during $ sudo make . MAMP installs without some necessary resources for Sphinx integration, mainly a mysql lib directory and an include directory filled with C header source files. These were downloaded and installed successfully (using CMake) into the following directories: /Applications/MAMP/Library/include/mysql /Applications/MAMP/Library/lib/mysql After unzipping Sphinx and running: sudo .

MySQL and PhpMyAdmin config.inc.php Password issue on MAMP

拈花ヽ惹草 提交于 2019-12-06 13:44:58
问题 This is a very strange issue that is similar to a few other people issue that has been going on for a while with MAMP. I recently upgraded to MAMP2 and followed the instruction for the new phpMyAdmin and it work for a while but recently whenever I try to connect to MySQL I always get this error: Error: Could not connect to MySQL server! /Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect So I

Connect to MySQL in MAMP

我的梦境 提交于 2019-12-06 13:35:47
I'm trying to make a HTML form connect to a MySQL database on my MAMP. However I'm not able to open the MySQL connection. I keep getting the message "Could not connect" My thoughts for this - The host is incorrect The username and/or password is incorrect. I found this information in config.inc.php, so I believe it is correct, but there's a possibility .. Here's the PHP script <?php class Database { function insert() { $dbhost = 'localhost:8888'; $conn = mysql_connect($dbhost, 'root', 'root'); if (! $conn) { die('Could not connect: ' . mysql_error()); } else { echo "connected"; } } } ?>

Enable PHP Semaphore Functions on MAMP

隐身守侯 提交于 2019-12-06 11:00:30
I am trying to create a message queue using the following tutorial; http://www.ebrueggeman.com/blog/creating-a-message-queue-in-php The problem I am running in to is that I get the following error; ErrorException [ Fatal Error ]: Call to undefined function msg_get_queue() I have found out that this is because my PHP installation is missing some of the Semaphore Functions and I should recompile my PHP installation using the following parameter --enable-sysvmsg. I am running MAMP on Lion OSX and actually have no clue where to start. I can't find any information on the MAMP forums how to do this