• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Perl & MariaDB over Apache or console - installed DBD drivers are different

netdiver

New Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.56
Hi Folks,

I have a perl script that is running without any problems with MariaDB on Ubuntu from console.
But when I call the script over Apache it fails. (Shebang and content-type is given and not the issue.)

When I call DBI->available_drivers();
on console it returns "DBM,ExampleP,File,Gofer,MariaDB,Mem,Proxy,Sponge".
when called via Apache it says "DBM,ExampleP,File,Gofer,Mem,Proxy,Sponge,mysql".

How or where can I configure this module nightmare?
Somehow it seems perl from console and perl from apache are using differen lib folders?

Greetings from Berlin
 
Additonal information.
Console ist starting Perl 5.038 .. Apache Perl 5.034.
Ok. The question is now, how can I modify the apache perl version or how can I install modules for a specific perl version.
 
Ok, temporary solved ...
Shebang line in perl script changed from #!/usr/bin/perl to #!/usr/local/bin/perl
 
Back
Top