Note: This post assumes you followed installing Apache, PHP, and MySQL on Mac OS X Yosemite and have since upgraded to Mac OS X El Capitan. If you did not follow the original post, you should follow installing Apache, PHP, and MySQL on Mac OS X El Capitan.
Jan 09, 2016 With Apple’s new OS X El Capitan here; how to get the Web Development stack up and running on the OS X El Capitan. This tutorial will go through the process on getting Apache, MySQL, PHP and phpMyAdmin running on the MAC OS X. This tutorial Setup your Local Web Development Environment Up & Running on OS X El Capitan.
Autostart MySQL Server on Mac OS X Yosemite/El Capitan. How to auto-load MySQL on startup on OS X Yosemite / El Capitan. « Mac El Capitan - Nginx, php-fpm, mysql mac - El CapitanでcakePHP3を使う.
PHP Update: Mac OS X El Capitan comes pre-installed with PHP version 5.5 which has reached its end of life. After you complete this post, you should upgrade PHP on Mac OS X.
When Mac OS X upgrades it overwrites previous configuration files. However, before doing so it will make backups. The backup files often have a suffix of
previous
or pre-update
. Most of the time, configuring your system after updating Mac OS X is simply a matter of comparing the new and old configurations.This post will look at the differences in Apache, PHP, and MySQL between Mac OS X Yosemite and Mac OS X El Capitan.
Updating Apache
Mac OS X Yosemite and Mac OS X El Capitan both come with Apache 2.4 pre-installed. As noted above, your Apache configuration file is overwritten me when you upgrade to Mac OS X El Capitan.
Comparing the configuration files show no differences other than the changes made in the original post. As such, you can simply overwrite El Capitan's configuration file with the original by running the following command:
Updating PHP
Both Mac OS X Yosemite and Mac OS X El Capitan run PHP 5.5. However, there is a difference between the minor versions. So if you added any extensions to PHP you will need to recompile them.
Also, if you changed the core PHP INI file it will have been overwritten when upgrading to Mac OS X El Capitan. You can compare the two files by running the following command:
Note: Your file may note be named
/etc/php.ini.default.pre-update
. You can see which PHP core files exist by running ls /etc/php.ini*
.I would encourage you not to change the PHP INI file directly. Instead, you should overwrite PHP configurations in a custom PHP INI file. This will prevent Mac OS X upgrades from overwriting your PHP configuration in the future. To determine the right path to add your custom PHP INI, run the following command:
Updating MySQL
MySQL is not pre-installed with Mac OS X. It is something you downloaded when following the original post. As such, the upgrade should not have changed your MySQL configuration.
MySQL has had a few minor version updates since my original post. If you wish to upgrade MySQL you may do so by following the instructions in this post
Find this interesting? Let's continue the conversation on Twitter.
Posted by: John Millar
Date: February 20, 2016 01:07PM
Date: February 20, 2016 01:07PM
Like other users I am unable to install MySQL Utilities 1.5.6 or earlier; I also tried to install MySQL Connector/Python 2.1.3 (as suggested earlier in the thread on this issue OS X 10.11.1 (El Capitan) but that also failed.
Can we not downgrade to an earlier OS X such as Yosemite, or such other OS X which was compatible with MySQL Utilities and MySQL Connector/Python?
Can we not downgrade to an earlier OS X such as Yosemite, or such other OS X which was compatible with MySQL Utilities and MySQL Connector/Python?
Options:Reply•Quote
Views
Posted
16671
November 05, 2015 11:08PM
20099
November 06, 2015 09:52AM
3556
December 02, 2015 04:32PM
2863
January 15, 2016 10:45AM
1847
May 25, 2016 08:29PM
3542
February 20, 2016 01:07PM
2268
March 19, 2016 07:52AM
2034
March 29, 2016 11:49AM
1836
April 07, 2016 01:41PM
1856
April 14, 2016 06:46AM
1869
June 03, 2016 07:46PM
1758
April 27, 2016 03:53AM
1643
April 27, 2016 11:42AM
1533
May 02, 2016 01:16PM
1650
May 04, 2016 11:42AM
1273
July 21, 2016 08:09PM
1305
July 25, 2016 07:03AM
1025
October 12, 2016 09:06AM
992
October 18, 2016 06:35AM
910
November 10, 2016 05:37PM
1027
November 12, 2016 10:30PM
979
November 14, 2016 03:55PM
980
November 15, 2016 11:42AM
1207
November 21, 2016 03:11PM
961
Download Mysql For Mac El Capitan
December 06, 2016 08:34PM
985
December 12, 2016 12:55PM
1234
November 14, 2016 07:38AM
1135
January 05, 2017 04:56AM
Mysql For Osx El Capitan
989
January 17, 2017 04:52AM
1039
January 19, 2017 08:04PM
Sorry, you can't reply to this topic. It has been closed.
Mysql For Mac El Capitan 10 11
Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.