stockton
Posts: 91
Joined: Mon Aug 24, 2015 6:06 am

PHP5 mysqli.so

Thu Jul 12, 2018 6:00 pm

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.

L00
Posts: 5
Joined: Wed Jul 18, 2018 6:17 pm

Re: PHP5 mysqli.so

Wed Jul 18, 2018 6:23 pm

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?

User avatar
DougieLawson
Posts: 33850
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: PHP5 mysqli.so

Thu Jul 19, 2018 8:22 am

On Stretch php5 is removed. You need to replace all the php pieces with php7.0 equivalents.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

stockton
Posts: 91
Joined: Mon Aug 24, 2015 6:06 am

Re: PHP5 mysqli.so

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.

DirkS
Posts: 9057
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: PHP5 mysqli.so

Thu Jul 19, 2018 11:47 am

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?

User avatar
DougieLawson
Posts: 33850
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: PHP5 mysqli.so

Thu Jul 19, 2018 5:05 pm

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).
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

Return to “Other programming languages”

Who is online

Users browsing this forum: No registered users and 3 guests