PHP 7.4 tidy Modul wird nicht gefunden  [GELÖST]

Locked
User avatar
alexgalax
Posts: 3
Joined: Tue 19. Oct 2021, 08:51

PHP 7.4 tidy Modul wird nicht gefunden

Post by alexgalax »

- Ubuntu 18.04
- KeyHelp 21.2 (Build 2306)
- KVM Instanz

Ich habe Nextcloud auf einer Domain mit PHP 7.4 Interpreter installiert. Nextcloud macht im 30 Sekundentakt eine Abfrage, um z.B. User-Notifications zu holen. Dabei kommt es aber immer zu folgendem Fehler:

Code: Select all

PHP Startup: Unable to load dynamic library '/opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902/tidy.so' (tried: /opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902/tidy.so (libtidy.so.5: cannot open shared object file: No such file or directory), /opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902//opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902/tidy.so.so (/opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902//opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902/tidy.so.so: cannot open shared object file: No such file or directory)) at Unknown#0
Was komisch ist, denn die Datei tidy.so liegt definitiv in dem Verzeichnis /opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902.

Beste Grüße,
Alex
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: PHP 7.4 tidy Modul wird nicht gefunden

Post by Tobi »

Welche Rechte und welchen Eigentümer hat fragliche Datei?
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
User avatar
alexgalax
Posts: 3
Joined: Tue 19. Oct 2021, 08:51

Re: PHP 7.4 tidy Modul wird nicht gefunden

Post by alexgalax »

haben alle root als Besitzer und sind ausführbar

Code: Select all

nextcloud@vh1337:/home/users/nextcloud/www/nextcloud$ ls -lh /opt/keyhelp/php/7.4/lib/php/extensions/no-debug-non-zts-20190902/
total 28M
-rwxr-xr-x 1 root root  72K Oct 19 08:19 apc.so
-rwxr-xr-x 1 root root 571K Oct 19 08:19 apcu.so
-rwxr-xr-x 1 root root 652K Oct 19 08:19 bcmath.so
-rwxr-xr-x 1 root root 270K Oct 19 08:19 calendar.so
-rwxr-xr-x 1 root root 473K Oct 19 08:19 curl.so
-rwxr-xr-x 1 root root 1.6M Oct 19 08:19 gd.so
-rwxr-xr-x 1 root root 271K Oct 19 08:19 gmp.so
-rwxr-xr-x 1 root root 1.3M Oct 19 08:19 imagick.so
-rwxr-xr-x 1 root root 315K Oct 19 08:19 imap.so
-rwxr-xr-x 1 root root 3.5M Oct 19 08:19 intl.so
-rwxr-xr-x 1 root root 2.1M Oct 19 08:19 mbstring.so
-rwxr-xr-x 1 root root 578K Oct 19 08:19 memcached.so
-rwxr-xr-x 1 root root 6.0M Oct 19 08:19 opcache.a
-rwxr-xr-x 1 root root 2.8M Oct 19 08:19 opcache.so
-rwxr-xr-x 1 root root 2.8M Oct 19 08:19 redis.so
-rwxr-xr-x 1 root root 1.8M Oct 19 08:19 soap.so
-rwxr-xr-x 1 root root 275K Oct 19 08:19 sodium.so
-rwxr-xr-x 1 root root 317K Oct 19 08:19 ssh2.so
-rwxr-xr-x 1 root root 182K Oct 19 08:19 tidy.so
-rwxr-xr-x 1 root root 2.1M Oct 19 08:19 xdebug.so
-rwxr-xr-x 1 root root 250K Oct 19 08:19 zip.so
User avatar
Florian
Keyweb AG
Posts: 1243
Joined: Wed 20. Jan 2016, 02:28

Re: PHP 7.4 tidy Modul wird nicht gefunden  [GELÖST]

Post by Florian »

Hallo,

es liegt offenbar nicht an der Moduldatei tidy.so, sondern es fehlt die Bibliothek libtidy.so.5

Diese über apt-get nachinstallieren, dann sollte es funktionierten.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: PHP 7.4 tidy Modul wird nicht gefunden

Post by Alexander »

Nur fürs Protokoll also hier die Schritte:

Libtidy installieren:

Code: Select all

apt-get install -y libtidy5
PHP-FPM neu starten

Code: Select all

service keyhelp-php74-fpm restart
(ggf. noch die anderen Interpreter auch)
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
alexgalax
Posts: 3
Joined: Tue 19. Oct 2021, 08:51

Re: PHP 7.4 tidy Modul wird nicht gefunden

Post by alexgalax »

bestes tool
bester support
real heroes don't wear capes :ugeek:
Locked