mamp

MAMP MySQL stop working after updating mac High Sierra 10.13.2

一曲冷凌霜 提交于 2019-12-09 03:06:28
I updated my mac and MAMP stopped working, or my MySQL Server wont start: I tried to delete the ib_logfileN:s since that allways worked for me before, but it doesn't work this time.. Any idea what might solve this? Thanks Uninstall my latest version of MAMP and re-install a older version (3.5.2) worked for me. 来源: https://stackoverflow.com/questions/48184740/mamp-mysql-stop-working-after-updating-mac-high-sierra-10-13-2

How to integrate Xdebug 2.2.3 (PHP 5.53) with PhpStorm 7.0

落爺英雄遲暮 提交于 2019-12-09 00:58:15
问题 How do I integrate Xdebug 2.2.3 (PHP 5.53) with the new PhpStorm 7.0? The official documentation doesn't provide a step-by-step process. 回答1: My default setups MAMP 2.2. Installation directory is "default". Phpstorm 7.0. The basic config are done as per guided by the online doc. A Phpstorm project has been setup with sample codes ready for debugging. Chrome browser is used. Feel free to contribute if you would like to share on other browsers. Configuring php.ini in MAMP to enable Xdebug Open

MAMP PHP 5.6.2 mssql.so extension not installing

别来无恙 提交于 2019-12-08 18:52:37
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 phpInfo page, in the Loaded Configuration File section of the MAMP start portal. After these things,

How to add ODBC to MAMP on OSX

那年仲夏 提交于 2019-12-08 16:43:35
问题 I'm trying to get ODBC to work on MAMP. I have tried many suggestions and solutions including those already on stackoverflow: MAMP: Adding ODBC or SQL Server support , How do I add an ODBC driver to a MAMP environment? None are successful so far. This is the latest I tried. I downloaded the latest ODBC connector: http://dev.mysql.com/downloads/connector/odbc/ Installed it with the OSX DMG I than added the driver in iODBC I keep getting this message: Specific driver could not be loaded and No

Configure MAMP to treat each directory in Htdocs as Root in Apache mod_redirect

▼魔方 西西 提交于 2019-12-08 13:32:34
The issue is that when using MAMP for local development, the .htaccess file needs to differ in that the RewriteBase needs to specify the subdirectory for the specific site (as shown here on SO ). Is there a way to configure MAMP MAMP/conf/apachehttpd.conf so that each virtual site gets it's own "root"? UPDATE After getting a clue about Virtual Hosts: Have updated /etc/hosts file to include: 127.0.0.1 ClientSite.localhost Uncommented the line: `#Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf` in /Applications/MAMP/conf/apache/httpd.conf . There is a directory called ClientSite

CodeIgniter / MAMP Pro : mapping URI param to default controller

老子叫甜甜 提交于 2019-12-08 11:31:46
问题 I'm having an issue getting my rewrite rules to work. Here's what I get: mysite:8888/ - works, but throws missing argument errors (expected) mysite:8888/myvar - 404 error mysite:8888/index.php/test/index/myvar - works and displays myvar on page (expected) mysite:8888/test/index/myvar - 404 error mysite:8888/test/myvar - 404 error My routes.php file only contains: $route['default_controller'] = "test"; config.php: $config['base_url'] = 'http://mysite:8888/'; $config['index_page'] = ''; $config

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

匆匆过客 提交于 2019-12-08 08:52:05
问题 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

MAMP MySQL stop working after updating mac High Sierra 10.13.2

时光总嘲笑我的痴心妄想 提交于 2019-12-08 08:16:27
问题 I updated my mac and MAMP stopped working, or my MySQL Server wont start: I tried to delete the ib_logfileN:s since that allways worked for me before, but it doesn't work this time.. Any idea what might solve this? Thanks 回答1: Uninstall my latest version of MAMP and re-install a older version (3.5.2) worked for me. 来源: https://stackoverflow.com/questions/48184740/mamp-mysql-stop-working-after-updating-mac-high-sierra-10-13-2

Configure MAMP to treat each directory in Htdocs as Root in Apache mod_redirect

纵然是瞬间 提交于 2019-12-08 06:48:10
问题 The issue is that when using MAMP for local development, the .htaccess file needs to differ in that the RewriteBase needs to specify the subdirectory for the specific site (as shown here on SO). Is there a way to configure MAMP MAMP/conf/apachehttpd.conf so that each virtual site gets it's own "root"? UPDATE After getting a clue about Virtual Hosts: Have updated /etc/hosts file to include: 127.0.0.1 ClientSite.localhost Uncommented the line: `#Include /Applications/MAMP/conf/apache/extra

Mongo PHP Driver with MAMP

烈酒焚心 提交于 2019-12-08 06:24:47
问题 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