kascemakers.blogg.se

Setting up mysql on mac
Setting up mysql on mac










setting up mysql on mac
  1. #Setting up mysql on mac how to#
  2. #Setting up mysql on mac mac os x#
  3. #Setting up mysql on mac install#
  4. #Setting up mysql on mac password#

If you do not tap homebrew/dupes you will get Error: No available formula for zlibīefore we build PHP 5.4, you may like to exercise options using: brew options php54 It will return long list of php 5.2, 5.3, 5.4 packages. Search for available PHP formulas (formula’s in homebrews are equivalent to packages in aptitude) brew search php

setting up mysql on mac

#Setting up mysql on mac mac os x#

Installing PHP 5.4 (with FPM) on Mac OS X

#Setting up mysql on mac install#

I'm over my head here, I have no idea what the problem could be.There are many ways to install PHP, MySQL & Nginx on Mac. Please check your autoconf installation and the Grep: /usr/include/php/Zend/zend_extensions.h: No such file or directoryĬannot find autoconf. Grep: /usr/include/php/Zend/zend_modules.h: No such file or directory Grep: /usr/include/php/main/php.h: No such file or directory In the process of trying to use pecl to install the oci8 stuff I get error messages, which seem to be related to something missing in my PHP installation (which is why I came here)? Yet it works fine for PHP scripts acting on MySQL. It still works fine but I need to add the ability to connect to Oracle databases with PHP as well. I already had a working MySQL/PHP installation in Snow Leopard and then upgraded to Lion. So far I've utterly failed to get PHPStorm to talk to xdebug though :( Worked fine on Snow Leopard. It would be nice if the apache and php config system were upgraded to be more like the excellent system that's on Debian/Ubuntu. I've found the installation of libs from homebrew, coupled with building extensions from a downloaded PHP source tarball works very nicely with the stock PHP build (I've used it for gmp and mcrypt). I wish other OSs did this – they always seem to use the "PATH=$PATH:…" anti-pattern, which is another way of saying, "we have no idea what originally set this"…ĭuring the pear installation it's worth issuing "pear config-set php_ini /etc/php.ini" so that subsequent builds of pecl extensions can enable themselves. At least bash and zsh shells make use of this out of the box. Something I only noticed recently is that OS X 10.7 has a wonderfully sane way of setting the system path: add them to the /etc/paths file (in order), or create additional path files in /etc/paths.d, which are loaded in name order. PEAR_PackageFile->fromTgzFile() /Users/jcrawford/pear/share/pear/PEAR/PackageFile.php:474 PEAR_PackageFile->fromAnyFile() /Users/jcrawford/pear/share/pear/PEAR/Downloader/Package.php:1606 PEAR_Downloader_Package->_fromUrl() /Users/jcrawford/pear/share/pear/PEAR/Downloader/Package.php:263 PEAR_Downloader_Package->download() /Users/jcrawford/pear/share/pear/PEAR/Downloader.php:454 PEAR_Downloader->download() /Users/jcrawford/pear/share/pear/PEAR/Command/Install.php:661 PEAR_Command_Install->doInstall() /Users/jcrawford/pear/share/pear/PEAR/Command/Common.php:271

setting up mysql on mac

PEAR_Command_Common->run() /Users/jcrawford/pear/share/pear/pearcmd.php:305

#Setting up mysql on mac password#

Mysqladmin -u root password () /Users/jcrawford/pear/share/pear/pearcmd.php:0 (Note that we set EDITOR whilst we are here so that svn is happy!) Add /usr/local/mysql/bin to the path: vim ~/.bash_profile and add:Įxport PATH=~/bin:/usr/local/bin:/usr/local/mysql/bin:$PATHĪt top of file.Download the 64bit DMG version of MySQL 5.1.x (or 5.5.x) for OS X 10.6 from and install the pkg, the startup item and the pref pane.usr/localĮnsure that the following directories exist:

#Setting up mysql on mac how to#

This is how to set it up from a clean install of 10.7. With OS X 10.7, Apple continues to ship PHP 5.3 with PEAR, GD and PDO_MYSQL out of the box.












Setting up mysql on mac