Page 1 of 1

PHP 7.4 tidy Modul wird nicht gefunden

Posted: Tue 19. Oct 2021, 11:23
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

Re: PHP 7.4 tidy Modul wird nicht gefunden

Posted: Tue 19. Oct 2021, 12:25
by Tobi
Welche Rechte und welchen Eigentümer hat fragliche Datei?

Re: PHP 7.4 tidy Modul wird nicht gefunden

Posted: Tue 19. Oct 2021, 12:29
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

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

Posted: Tue 19. Oct 2021, 16:08
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.

Re: PHP 7.4 tidy Modul wird nicht gefunden

Posted: Wed 20. Oct 2021, 09:34
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)

Re: PHP 7.4 tidy Modul wird nicht gefunden

Posted: Wed 20. Oct 2021, 10:23
by alexgalax
bestes tool
bester support
real heroes don't wear capes :ugeek: