You are not logged in.
Pages: 1
I see they are only warnings and not errors. But what do they actuall state and what may I do to prevent this? It is said that the problem is a php bug in some forums, but I could not find an explanation or workaround.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-zts-20100525/mysqli.so' - /usr/lib/php/extensions/no-debug-zts-20100525/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/php/extensions/no-debug-zts-20100525/openssl.so' - /usr/lib/php/extensions/no-debug-zts-20100525/openssl.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/php/extensions/no-debug-zts-20100525/mysql.so' - /usr/lib/php/extensions/no-debug-zts-20100525/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Could these errors explain why a php script with mysql statesments is failing while connecting the server?
I am getting error PHP Fatal error: Call to undefined function mysqli_connect()
I have the following php packages installed
php 5.4.23 development
php-cli 5.4.23 development
php-common 5.4.23 development
php-mysql 5.4.23 development
php-mysqli 5.4.23 development
php-openssl 5.4.23 development
Offline
Hi,
Php modules are in /usr/share/php
[c]<br />
root@zecube:/var/www# ls -l /usr/share/php<br />
total 304<br />
-rwxr-xr-x 1 root root 125108 Dec 27 15:36 mysqli.so<br />
-rwxr-xr-x 1 root root 45880 Dec 27 15:36 mysql.so<br />
-rwxr-xr-x 1 root root 104028 Dec 27 15:36 openssl.so<br />
-rwxr-xr-x 1 root root 20116 Dec 27 15:36 pdo_mysql.so<br />[/c]
Add the following directive in your /etc/php.ini file and restart your http daemon.
[c]
extension_dir = "/usr/share/php/"
[/c]
Offline
Thanks. That line was already in php.ini but commented away. It workes now.
Breg
Vidar
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]