Jump to content

Can't get php to see MySQL


markrumford

Recommended Posts

Hi

 

New to this so please forgive my ignorance

 

I work off a laptop connected to a nt server behind a firewall. Have just installed Apache/MySQL/PHP (in that order) and configured everything in accordance to "PHP $ MySQL for Dummies" but then get stuck at the first hurdle trying to see if MySQL is operating.

 

I get the following error message

 

Fatal error: Call to undefined function mysqli_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mysql_up.php

 

I realize that this is probably telling me that MySQL is probably not working but I can't seem to do anything about it.

 

Please Help

 

Link to comment
https://forums.phpfreaks.com/topic/97233-cant-get-php-to-see-mysql/
Share on other sites

Did you make sure to add PHP to the system path and reboot the system after doing so?

http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath

 

Also, do the normal mysql functions work? (or at least not through "Call to undefined function" errors)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.