Please tell me why mysqli_connect works fine in cli but fails under Apache.
I have compared both .ini files and cannot see any difference.
Under Apache I get
PHP Fatal error: Call to undefined function mysqli_connect() in /var/www/html/gae3/index.php on line 13, referer:
http://stockton.co.za/gae3/
Apache also is telling me:-
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mysqli.so' - /usr/lib/php5/20131226/mysqli.so: cannot open
shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mysql.so' - /usr/lib/php5/20131226/mysql.so: cannot open
shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mysqli.so' - /usr/lib/php5/20131226/mysqli.so: cannot open
shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mysql.so' - /usr/lib/php5/20131226/mysql.so: cannot open
shared object file: No such file or directory in Unknown on line 0
Why is it looking for a /usr/lib/php5/20131226/mysqli.so whereas it should be looking at /usr/lib/php/20151012
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)