Download Latest Version xampp-windows-x64-7.4.11-0-VC15-installer.exe (162.5 MB) Get Updates Get project updates, sponsored content from our select partners, and more. Firefox version 78 is the last supported Firefox version for Mac users of OS X 10.9 Mavericks, OS X 10.10 Yosemite and OS X 10.11 El Capitan. These users will be moved to the Firefox Extended Support Release (ESR) channel by an application update. This will provide security updates until the next ESR update in July 2021, after which the affected users will no longer receive security updates. As of this writing, the latest version, 5.7.11 is labeled for OS X 10.10 but I was able to install it with no problems on El Capitan (10.11). During the installation, you will be asked to create a password for the root MySQL user – make sure to write this password down somewhere safe!
Join the DZone community and get the full member experience.
Join For Free
It's that time again; Apple has shipped a new version of OS X, 10.10 Yosemite. Apple ships PHP 5.5.14 with Yosemite and this is how to set it up from a clean install.
However, if you don't want to use the built-in PHP or want to use version 5.6, then these are some alternatives:
PHP 5.3/5.4/5.5 for OS X 10.6/10.7/10.8/10.9/10.10 as binary package by Liip
Homebrew has PHP.
Zend Server 7.x (Paid for)
Let's get started…
Homebrew
Homebrew is a package manager for OS X. Install it, as we'll need it later.
You'll also need the Xcode command line tools – at least version 6.1. Usually you would install using xcode-select --install, however, as of this writing Xcode 6.1 isn't available on the Mac App Store, so use this direct link. Don't forget to start up Xcode…
Note: if /usr/include doesn't exist, then you need to do:
MySQL
Download the 'Mac OS X 10.9 (x86, 64-bit), DMG Archive' from mysql.com and install the pkg.
Open the pref pane and start the MySQL Server.
Update the path by editing ~/.bash_profile and add:
at top of file.
Set up MySQL root password:
Clear the history file by typing history -c so that {new-password} isn't in plain text on the disk.
Now ensure that the mysql.sock file can be found by PHP:
Ensure that MySQL is running
sudo mkdir /var/mysql
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
Apache
In Yosemite, Apache 2.4.9 is installed. We just have to use the command line to start and stop it.
One change compared to 2.2.x worth noting is that we now need the Require all granted directive in our virtual host definitions in place of Allow from all. Read the upgrading documentation for more information.
cd /etc/apache2
Edit /etc/apache2/httpd.conf
To enable PHP and rewriting in Apache, remove the leading # from these two lines:
Find the <Directory '/Library/WebServer/Documents'>section and change: AllowOverride None to AllowOverride All so that .htaccess files will work and Options FollowSymLinks Multiviews to Options FollowSymLinks Multiviews Indexes so that we can view directory listings.
Restart Apache: sudo apachectl restart
Give yourself permissions to the /Library/WebServer/Documents/ folder using the terminal commands:
sudo chgrp staff /Library/WebServer/Documents
sudo chmod g+rws /Library/WebServer/Documents
sudo chmod g+rw /Library/WebServer/Documents/*
Open Finder and navigate to /Library/WebServer/Documents/ using shift+cmd+g
Create a new folder called 'orig' and place all files currently in the Documents folder into it.
Create a new file called info.php with <?php phpinfo(); inside it.
Use Safari to navigate to http://localhost/info.php and check that the PHP version is displayed (5.5.14 at the time of writing).
php.ini
cd /etc
sudo cp php.ini.default php.ini
sudo chmod ug+w php.ini
sudo chgrp admin php.ini
Edit php.ini and change settings appropriately. At a minimum, you should change:
Xdebug
Mysql Download Mac Os
Can't have a PHP development environment without xdebug! Fortunately, Yosemite ships with it ready to enable:
Edit /etc/php.ini and add this line to the end:
If you want to configure your xdebug settings, then add an [xdebug] section. I like these settings (use with caution…):
Restart apache: sudo apachectl restart and check in the phpinfo that xdebug is now loaded.
Composer
Install Composer into /usr/local/bin:
cd /usr/local/bin
curl -sS https://getcomposer.org/installer | php
mv composer.phar composer
PEAR
We need PEAR solely for installing PHP extensions using PECL. We just need to run the install phar file.
cd /usr/lib/php
sudo php install-pear-nozlib.phar
sudo pear channel-update pear.php.net
sudo pecl channel-update pecl.php.net
sudo pear upgrade-all
sudo pear config-set auto_discover 1
Compiling extensions
To compile extensions, you need the Xcode command line tools and autoconf.
brew install autoconf
Intl extension
If you need Locale:
brew install icu4c
sudo pecl install intl The path to the ICU libraries and headers is: /usr/local/opt/icu4c/
Edit /etc/php.ini and add extension=intl.so to the end.
Mcrypt extension
Firstly, install mcrypt:
brew install mcrypt
Now the PHP extension:
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/php
Edit /usr/local/Library/Taps/homebrew/homebrew-php/Abstract/abstract-php-extension.rb and patch as per this patch. (At least until this PR is accepted!)
That's it! It all works on this machine, anyway :)
As I noted at the top, if you don't want to do all this yourself, there are otheroptionsavailable for PHP on OS X which may work better for you.
Published at DZone with permission of Rob Allen, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Posted by: Nuno Mariz Date: November 06, 2015 09:52AM
Hi Mark, Yes, you can install MySQL Utilities from source while we are working on the support for El Capitan. 1) You need Connector/Python installed in your system. Download it from here: http://dev.mysql.com/downloads/connector/python/ 2) Download MySQL Utilities source code by selecting 'Source Code' from 'Select Platform' in http://dev.mysql.com/downloads/utilities/ 3) Follow the instructions of MySQL Utilities installation from source: http://dev.mysql.com/doc/mysql-utilities/1.5/en/mysql-utils-install-source.html
Options:Reply•Quote
Views
Posted
16968
November 05, 2015 11:08PM
20957
November 06, 2015 09:52AM
3624
December 02, 2015 04:32PM
2921
January 15, 2016 10:45AM
1907
May 25, 2016 08:29PM
3658
February 20, 2016 01:07PM
2324
March 19, 2016 07:52AM
2091
March 29, 2016 11:49AM
1901
April 07, 2016 01:41PM
1904
April 14, 2016 06:46AM
1925
June 03, 2016 07:46PM
1817
Mac Os X Version 10.10.0
April 27, 2016 03:53AM
1682
April 27, 2016 11:42AM
1572
May 02, 2016 01:16PM
1699
May 04, 2016 11:42AM
1325
July 21, 2016 08:09PM
1345
July 25, 2016 07:03AM
1076
October 12, 2016 09:06AM
1037
October 18, 2016 06:35AM
949
November 10, 2016 05:37PM
1074
November 12, 2016 10:30PM
1020
November 14, 2016 03:55PM
1020
November 15, 2016 11:42AM
1269
November 21, 2016 03:11PM
1012
December 06, 2016 08:34PM
1035
December 12, 2016 12:55PM
1278
November 14, 2016 07:38AM
1212
Mysql Download For Mac Os X 10.10.5
January 05, 2017 04:56AM
1050
January 17, 2017 04:52AM
1106
January 19, 2017 08:04PM
Sorry, you can't reply to this topic. It has been closed.
Install Mysql On Mac Os
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.