Page 1 of 1

PHP5 mysqli.so

Posted: Thu Jul 12, 2018 6:00 pm
by stockton
I am trying to understand why I would get the apache error/warning ;-
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mysqli.so'
when in fact mysqli.so is in
/usr/lib/php/20151012/mysqli.so

What is the solution? Copy mysqli.so to /usr/lib/php5/20131226 or copy /usr/lib/php/20151012 there.

Re: PHP5 mysqli.so

Posted: Wed Jul 18, 2018 6:23 pm
by L00
It looks to me like you have PHP versions 5 and 7 both installed, and PHP 5 is the one having trouble loading. Opening a command prompt and running:

Code: Select all

sudo apt-get install php5-mysqli
might allow PHP 5 to load correctly, but are you trying to get PHP 5 working, or would you rather be using PHP 7?

Re: PHP5 mysqli.so

Posted: Thu Jul 19, 2018 8:22 am
by DougieLawson
On Stretch php5 is removed. You need to replace all the php pieces with php7.0 equivalents.

Re: PHP5 mysqli.so

Posted: Thu Jul 19, 2018 11:15 am
by stockton
DougieLawson we need to tell the Squirrelmail developers to pull their fingers out and switch from PHP5 to PHP7.

Re: PHP5 mysqli.so

Posted: Thu Jul 19, 2018 11:47 am
by DirkS
stockton wrote:
Thu Jul 19, 2018 11:15 am
DougieLawson we need to tell the Squirrelmail developers to pull their fingers out and switch from PHP5 to PHP7.
Would that be the reason that it's not available in Debian / Raspbian Stretch repos?

Re: PHP5 mysqli.so

Posted: Thu Jul 19, 2018 5:05 pm
by DougieLawson
stockton wrote:
Thu Jul 19, 2018 11:15 am
Dougie Lawson we need to tell the Squirrelmail developers to pull their fingers out and switch from PHP5 to PHP7.
No I don't, because I'm not even the slightest bit interested in running it. If you want that you've got to ask for it. Or re-write their code and give it back to them with a pull request (which is how Open Source works).