#12 /Users/Galina/Sites/magento2.lan/setup/src/Magento/Setup/Model/Installer.php(298): call_user_func_array(Array, Array) #11 : Magento\Setup\Model\Installer->installSchema() #10 /Users/Galina/Sites/magento2.lan/setup/src/Magento/Setup/Model/Installer.php(695): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\Setup), 'schema') #9 /Users/Galina/Sites/magento2.lan/setup/src/Magento/Setup/Model/Installer.php(761): Magento\Eav\Setup\InstallSchema->install(Object(Magento\Setup\Module\Setup), Object(Magento\Setup\Model\ModuleContext)) #8 /Users/Galina/Sites/magento2.lan/app/code/Magento/Eav/Setup/InstallSchema.php(217): Magento\Framework\DB\Adapter\Pdo\Mysql->createTable(Object(Magento\Framework\DB\Ddl\Table)) #7 /Users/Galina/Sites/magento2.lan/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php(1974): Magento\Framework\DB\Adapter\Pdo\Mysql->query('CREATE TABLE IF.') #6 /Users/Galina/Sites/magento2.lan/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php(488): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('CREATE TABLE IF.', Array)
![mamp for mac 10.7 mamp for mac 10.7](https://lh3.googleusercontent.com/-VP5bLGKTDPg/Tw7nmgeR5OI/AAAAAAAA7f0/IBRhilpTzr80J5XGI5yyzOEiIIXrdZCvgCE0YBhgL/w692-h384-c/20120112_1.jpg)
#5 /Users/Galina/Sites/magento2.lan/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php(433): Zend_Db_Adapter_Pdo_Abstract->query('CREATE TABLE IF.', Array) #4 /Users/Galina/Sites/magento2.lan/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('CREATE TABLE IF.', Array) #3 /Users/Galina/Sites/magento2.lan/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /Users/Galina/Sites/magento2.lan/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #1 /Users/Galina/Sites/magento2.lan/lib/internal/Magento/Framework/DB/Statement/Pdo/Mysql.php(95): Zend_Db_Statement_Pdo->_execute(Array) #0 /Users/Galina/Sites/magento2.lan/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#Mamp for mac 10.7 update#
There probably are about 3 references to that path.įinally, restart Apache for the new configuration to take effect: sudo apachectl restartĪlternatively you can restart Apache by toggling it off and on again in the Sharing prefpane.Exception 'PDOException' with message 'SQLSTATE: General error: 1293 Incorrect table definition there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause' in /Users/Galina/Sites/magento2.lan/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228 Now you can edit /etc/php.ini (again root access required) and replace any reference to /var/mysql/mysql.sock with /tmp/mysql.sock (the default location of the MySQL socket after running the installer).
#Mamp for mac 10.7 install#
Follow the instructions to install it.įinally, to configure PHP for MySQL, copy the default php.ini: sudo cp /etc/ /etc/php.ini
#Mamp for mac 10.7 download#
To install MySQL, download the installer from the MySQL website (64bit installer should be ok). For resolving additional hostnames apart from localhost I recommend hardcoding them in /etc/hosts. Important to note is that the first defined host will be the default host for unqualified host names. You can now edit your virtual hosts in the file /etc/apache2/extra/nf sudo nano /etc/apache2/extra/nf
![mamp for mac 10.7 mamp for mac 10.7](http://thinkingbrown282.weebly.com/uploads/1/2/6/7/126759434/641084315.jpg)
Save the file and exit nano by pressing ctrl + X, then confirming the changes by pressing Y(es), then enter. Next find the line #Include /private/etc/apache2/extra/nfĪnd uncomment that as well to enable virtual hosts support. sudo nano /etc/apache2/nfįind the line (you can press ctrl + W to start searching in nano): #LoadModule php5_module libexec/apache2/libphp5.soĪnd uncomment it. nano is a very accessible command-line editor if you are uncomfortable with vim. To activate PHP you'll need to edit /etc/apache2/nf in Terminal.app. Check this answer for controlling Apache in Mountain Lion. Note that since Mountain Lion, Web Sharing was removed from the Sharing preference pane, but Apache is still included. Check "Web sharing" and your web server is running. You first need to enable Apache in the Sharing prefpane.