PHP Novice Install MySQL environment, I installed with homebrew, according to this article installation. After the installation is complete, unable to connect MySQL,
mysql_connect is not defined
this how broken. I read the online information, add in the php.ini file, the
extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20121212"
Extension_dir directory does not have MySQL extension. How to install MySQL extension, System Mac, there is also a very painful mcrypt.
Reply content:
PHP Novice Install MySQL environment, I installed with homebrew, according to this article installation. After the installation is complete, unable to connect MySQL, mysql_connect is not defined
this how broken. I read the online information, add in the php.ini file, the extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20121212"
Extension_dir directory does not have MySQL extension. How to install MySQL extension, System Mac, there is also a very painful mcrypt.
Homebrew installation that's convenient.
According to this article loaded http://brianflove.com/2014/12/10/png-support-for-php-on-os-x-yosemite/bar, I installed the php56, since the MySQL extension, do not have to compile AH.
Install the MCrypt extension and use brew install php56-mcrypt
it.
I just installed the virtual machine to do ...