I installed php 5.4 from homebrew, and also mysql. I am using the inbuilt Apache Server with websharing.
I have phpMyAdmin installed and it tells me: the mysqli extension is missing.
I did the following steps: in the php.ini I set:
extension = mysqli.so
mysqli.default_socket = "/tmp/mysql.sock"
Then restarted Apache.
When I check with phpinfo()
I do not see any Mysql extension. The error in phpMyAdmin is still there.
I basically do not really see how I could check if Mysqli has come with my PHP install or not.
You need to install php with mysql support. So if you already have php54 installed, then:
brew uninstall php54
then
brew install php54 --with-mysql
Hope that helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With