I'm trying to install MySQLi, and I got Apache2 and php to work (at one time). But then I tried to configure PHP with MySQLi and apache2 fails to start.


/usr/local/apache2/bin/apachectl restart
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: mysqli_module_entry


My configure command was simple:

./configure --with-mysqli=/usr/lib/mysql/mysql_config

I did a make;make install


What am I doing wrong?