stockton
Posts: 138
Joined: Mon Aug 24, 2015 6:06 am
Location: South Africa
Contact: Website

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: 39877
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

stockton
Posts: 138
Joined: Mon Aug 24, 2015 6:06 am
Location: South Africa
Contact: Website

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: 10419
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: 39877
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

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).
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

Return to “Other programming languages”