Author Topic: Since upgrade to Debian 11  (Read 59 times)

spicer

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • ltspiceusers.ch
Since upgrade to Debian 11
« on: November 05, 2022, 10:08:26 pm »
The following error comes every 2 days:
Code: [Select]
PHP Warning:  PHP Startup: Unable to load dynamic library 'mysql.so' (tried: /usr/lib/php/20190902/mysql.so (/usr/lib/php/20190902/mysql.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/mysql.so.so (/usr/lib/php/20190902/mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Why?
Pls no the answer: "New installation"
Wenn es mehrere Möglichkeiten gibt, eine Aufgabe zu erledigen, und eine davon in einer Katastrophe endet oder sonstwie unerwünschte Konsequenzen nach sich zieht, dann wird es jemand genau so machen. Alles, was schiefgehen kann, wird auch schiefgehen.
(Murphys Gesetz)

earnolmartin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 279
    • View Profile
Re: Since upgrade to Debian 11
« Reply #1 on: December 06, 2022, 08:37:22 pm »
I believe the mysql library is deprecated.  I think you can install it, and then the error would go away.  That, or you can remove the loading call from php.ini for that library.

mysqli is the standard now.