March 17Mar 17 HI Community, ich habe hier schon gesucht, aber leider nichts gefunden. Ich bekomme alle 5 Minuten so eine Mail vom Froxlor cronjob. Aktuell läuft PHP8.1, und fpm8.1/8.2/8.3. Bisher konnte ich nicht herausfinden, woher diese Meldung genau kommt. Ich finde sie zwar hier: /etc/php/8.1/mods-available/raphf.ini:extension=raphf.so Unter mods-available, aber diese ist wohl nicht aktiviert. Wo kann ich das denn einstellen? Oder muss ich unter Bookworm php8.2 am Laufen haben? Gruß feiaweng
March 17Mar 17 2 sek google: https://askubuntu.com/questions/1386960/php-warning-cannot-load-module-http-because-required-module-raphf-is-not-lo Btw. hat nix mit froxlor zu tun und gehört nicht zum "standard-setup", froxlor hat nichts mit "php-raphf" zu tun
March 19Mar 19 Author Hallo d00p, diesen Artikel hatte ich auch gelesen. Und raphf ist installiert. vserver1:~# dpkg -la|grep raphf ii php-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 all raphf module for PHP ii php7.0-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php7.1-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php7.2-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php7.3-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php7.4-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php8.0-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php8.1-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php8.1-raphf-dbgsym 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 debug symbols for php8.1-raphf ii php8.2-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php8.2-raphf-dbgsym 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 debug symbols for php8.2-raphf ii php8.3-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP ii php8.3-raphf-dbgsym 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 debug symbols for php8.3-raphf ii php8.4-raphf 2.0.1++-4+0~20241125.27+debian12~1.gbp2ec090 amd64 raphf module for PHP Die Meldung kommt trotzdem, aber ich weiß nicht, von welchem vhost die Meldung kommen soll. find /var/www/fcgi -name php.ini -type f -exec grep "raphf" {} \; bringt kein Ergebnis. Könnte das Problem also außerhalb von froxlor zu finden sein? Obwohl die Meldung den froxlor cronjob betrifft? Gruß feiaweng
March 19Mar 19 die Meldung kommt nicht vom froxlor cronjob, sondern von PHP selbst, mach doch auf der console einfach mal ein "php -v" oder "php -m" - da wirst du den selben Fehler sehen. Ich hab mit diesem "raphf" noch nie gearbeitet, möglicherweise musst du die extension vllt erst aktivieren, wenn du sagst du findest den Eintrag /etc/php/8.1/mods-available/raphf.ini:extension=raphf.so dann ist die extension ja erstmal nur "verfügbar", wirf mal einen blick in den /etc/php8.1/fpm/conf.d/ (sofern du fpm nutzt) und/oder /etc/php8.1/cli/conf.d/ (für shell nutzung) - da sollte die raphf.ini ja gelinked sein
March 19Mar 19 Author Hab noch was gefunden. server:/usr/lib/php# find . -name raphf.so ./20170718/raphf.so ./20151012/raphf.so ./20190902/raphf.so ./20240924/raphf.so ./20230831/raphf.so ./20160303/raphf.so ./20200930/raphf.so ./20210902/raphf.so ./20220829/raphf.so ./20180731/raphf.so In den Ordnern drwxr-xr-x 3 root root 4.0K Mar 11 10:35 7.0 drwxr-xr-x 3 root root 4.0K Mar 11 10:35 7.1 drwxr-xr-x 3 root root 4.0K Mar 11 10:36 7.2 drwxr-xr-x 3 root root 4.0K Mar 11 10:36 7.3 drwxr-xr-x 3 root root 4.0K Mar 11 10:36 7.4 drwxr-xr-x 3 root root 4.0K Mar 11 10:33 8.0 drwxr-xr-x 3 root root 4.0K Mar 11 10:34 8.1 drwxr-xr-x 3 root root 4.0K Mar 11 10:34 8.2 drwxr-xr-x 3 root root 4.0K Mar 11 10:33 8.3 drwxr-xr-x 3 root root 4.0K Mar 11 10:37 8.4 gibt es nur diese Files: -rw-r--r-- 1 root root 73K Mar 10 16:24 php.ini-development -rw-r--r-- 1 root root 73K Mar 10 16:24 php.ini-production -rw-r--r-- 1 root root 73K Mar 10 16:24 php.ini-production.cli drwxr-xr-x 2 root root 4.0K Mar 11 10:34 sapi Ich könnte ja mal die raphf.so da reinkopieren, aber ob das Sinn macht weiß ich nicht.
March 19Mar 19 nein tut es nicht, die haben da nix verloren. Worüber beziehst du denn die verschiedenen PHP Versionen? Irgendwie scheint mir da was komisch auszusehen. Hast du denn diese raphf extension explizit installiert und brauchst das? Ansonsten schmeiss doch raus den müll
March 19Mar 19 Author also unter /etc/php/8.1/fpm/conf.d, finde ich: 20-raphf.ini -> /etc/php/8.1/mods-available/raphf.ini Ich brauch dieses raphf nicht, außer irgendein Tool benötigt das. Ich habe das installiert, wegen der Meldung PHP Warning: Cannot load module "http" because required module "raphf" is not loaded Er sollte ja das Modul http laden können, deswegen die ganze Aufregung.
March 19Mar 19 k.A. hab vor dem post hier noch nie von raphf gehört - ist weder bestandteil von standard debian php noch von froxlor
March 19Mar 19 Author ich vermute jetzt mal, dass ich unter bookworm php8.2 verwenden sollte, es scheint unter 8.1 nicht richtig zu funktionieren, wegen des raphf. Dazu müsste ich wohl im Froxlor die FPM config ändern auf php8.2. php8.2 ist ja bereits im Dateisystem installiert, muss es also nur switchen.
March 24Mar 24 Author Problem ist gelöst. Dummer Fehler von mir. Es betraf eine andere Maschine, nicht diese. Hab nur beim Absender nicht aufgepasst. Ich schließe den Thread. Oder bitte schließen, ich kann das wohl nicht. Hab zumindest auf die Schnelle nix gefunden.
Create an account or sign in to comment