Fatal error: call to undefined function mysqli_connect ()

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

extension=php_mysqli.dll
extension=php_mysql.dll

I added C: \ wamp \ bin to my env PATH variable. I copied the entire dll from C: \ wamp \ bin \ php \ php5.3.0 \ ext to 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

I do not get this error when running my PHP script from Apache 2.2.11 included in the WAMP package.

0
source share
2 answers

php.ini?

<?php echo 'ini: ', get_cfg_var('cfg_file_path');

( tomcat6) .

+3

, - , extension_dir, php.

0

All Articles