Fatal error: Call to undefined function mysqli_connect()

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-04-27T06:46:11Z Indexed on 2010/04/27 6:53 UTC
Read the original article Hit count: 183

Filed under:

I have installed WAMP. I am using Tomcat 6 to run my PHP scripts. I am also using JavaBridge.war and I have copied my php scripts into \webapp\JavaBridge\project. I have removed the semicolon from php.ini file before the statements

extension=php_mysqli.dll
extension=php_mysql.dll

I have added C:\wamp\bin into my PATH env variable. I have copied all dll's from C:\wamp\bin\php\php5.3.0\ext into C:\windows\system32

I am still getting this error.

Fatal error: Call to undefined function mysqli_connect() in C:\Program Files\apache-tomcat-6.0.26\webapps\JavaBridge\project\pf_query.php on line 534

Note - I dont get this error when I run my PHP script from Apache 2.2.11 of the WAMP package.

© Stack Overflow or respective owner

Related posts about php