Nach dem Update von Leap 15.2 auf Leap 15.3 kommt beim booten die Fehlermeldung “Failed to start The Apache Webserver” aber bis auf PHP funktioniert alles.
Wenn ich in /etc/apache2/sysconfig.d/loadmodule.conf den Eintrag LoadModule php8_module in LoadModule php_module ändere, wird es beim Apache restart wieder von /etc/sysconfig/apache2/APACHE_MODULES= überschrieben.
Wenn ich den Eintrag php8 in /etc/sysconfig/apache2/APACHE_MODULES= in php ändere, wird in /etc/apache2/sysconfig.d/loadmodule.conf die ganze Zeile mit dem Eintrag LoadModule php8_module /usr/lib64/apache2/mod_php8.so gelöscht.
Selbst wenn ich die Permissions von loadmodule.conf in 444 ändere, wird der Eintrag überschrieben.
Gibt es eine Möglichkeit daß der Eintrag LoadModule php_module in der LoadModule.conf erhalten bleibt?
Vielleicht kann man mir nochmal helfen?
Mit freundlichen Grüßen
gindi
Hast du dir mal die changes von php8 zu php7 durchgelesen?
Ich habe die ganze Woche die Docs von PHP Installation und Konfiguration sowie Apache Installation und Konfiguration auf Hinweise durchgesehen und auch in Google recherchiert. Entweder ist dieser Fehler noch nicht aufgetreten oder ich habe an den falschen Stellen gesucht.
Die Changes von php7 zu php8 habe ich auch durchgesehen. Die Änderungen sind bestimmt für Programmierer hilfreich, für mich sind das Böhmische Dörfer.
Was nutzt mir der Hinweis:
Changes in SAPI Modules
Apache2Handler
The PHP module has been renamed from php7_module to php_module.
Mein Laptop ignoriert diese Änderungen und ich ich habe keine Ahnung warum.
In den Dateien des Paketes apache2-mod-php8 habe ich auch keinen Hinweis auf die Namensänderung gefunden.
Mir ist es wichtig, daß ich wieder mit phpMyAdmin und dem lokalen Webserver arbeiten kann.
Ich verstehe nicht, warum es bei den andern Updatern funktioniert und bei mir nicht.
Mit freundlichen Grüßen
gindi
Ich verstehe nicht, warum es bei den andern Updatern funktioniert und bei mir nicht.
Weil andere evtl. bei den Versionen der Distribution bleiben?
Denn soweit ich sehe, bietet das OSS Repo nur php7…
Ich habe die openSUSE Leap 15.3 DVD eingelegt und im Menü Update gewählt.
Nach dem Update war php7 weg und php8 war installiert.
Während des Updates wurde auch über das Netzwerk aktualisiert.
Wenn ich während der Installation gerfragt worden wäre, hätte ich php7 behalten wollen.
Mit freundlichen Grüßen
gindi
Dann Poste doch einmal:
zypper lr -d
zypper se -si php
PS:
warum, schreibst du eigentlich Text in einen Code-Tag?
Das ist überflüssig, nur Ausgaben aus der Konsole sollten in Code-Tags gepostet werden…
Danke für den Hinweis zu dem Code-Tag, ich war mir nicht sicher.
herbert@linux-hp:/> zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Serv->
---+---------------------------+--------------------------------------------------------------+-----------+-----------------+----------------+-----------+--------+------------------------------------------------------------------------------------------+-------
1 | openSUSE-Leap-15.3-1 | openSUSE-Leap-15.3-1 | Nein | ---- | ---- | 99 | NONE | cd:/?devices=/dev/disk/by-id/ata-hp_DVDRW_GUD1N_KY1H13N0713 |
2 | openSUSE_Leap_15.2 | devel:languages:php (openSUSE_Leap_15.3) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/php/openSUSE_Leap_15.3/ |
3 | openSUSE_Leap_15.2_4 | Packman Repository 15.3 | Ja | (r ) Ja | Ja | 99 | rpm-md | http://packman.jacobs-university.de/suse/openSUSE_Leap_15.3/ |
4 | repo-backports-update | Update repository of openSUSE Backports | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/backports/ |
5 | repo-debug | Debug Repository | Nein | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/ |
6 | repo-debug-non-oss | Debug Repository (Non-OSS) | Nein | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/ |
7 | repo-debug-update | Update Repository (Debug) | Nein | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/update/leap/15.3/oss/ |
8 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | Nein | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/update/leap/15.3/non-oss/ |
9 | repo-non-oss | Non-OSS Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/ |
10 | repo-oss | Haupt-Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/ |
11 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/sle/ |
12 | repo-source | Source Repository | Nein | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/ |
13 | repo-update | Hauptaktualisierungs-Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/oss |
14 | repo-update-non-oss | Aktualisierungs-Repository (Nicht-Open-Source-Software) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.3/non-oss/ |
15 | server_php_applications | PHP libraries and applications (openSUSE_Leap_15.3) | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.opensuse.org/repositories/server:/php:/applications/openSUSE_Leap_15.3/ |
herbert@linux-hp:/> zypper se -si php
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
S | Name | Type | Version | Arch | Repository
---+-----------------------------+-------+--------------------+--------+----------------------------------------------------
i+ | apache2-mod_php8 | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php-composer2 | Paket | 2.0.2-lp153.1.11 | noarch | PHP libraries and applications (openSUSE_Leap_15.3)
i+ | php-mapi | Paket | 10.0.5-bp153.1.25 | x86_64 | Haupt-Repository
i | php-pear-MDB2 | Paket | 2.5.0b5-bp153.1.12 | noarch | Haupt-Repository
i+ | php-pear-MDB2_Driver_mysqli | Paket | 1.5.0b4-bp153.1.12 | noarch | Haupt-Repository
i+ | php8 | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-bz2 | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-calendar | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-cli | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-ctype | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-curl | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-dom | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-embed | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-fastcgi | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-fileinfo | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-fpm | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-ftp | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-gd | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-gettext | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-gmp | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-iconv | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-ldap | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-mbstring | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-mysql | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-opcache | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-openssl | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-pcntl | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-pdo | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-pear | Paket | 1.10.19-4.9 | noarch | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-pecl | Paket | 1.10.19-4.9 | noarch | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-phar | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-snmp | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-soap | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-sockets | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-sqlite | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-test | Paket | 8.0.8-29.3 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-tidy | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-tokenizer | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-xmlreader | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-xmlwriter | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-xsl | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-zip | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | php8-zlib | Paket | 8.0.8-29.2 | x86_64 | devel:languages:php (openSUSE_Leap_15.3)
i+ | phpMyAdmin | Paket | 5.1.1-lp153.378.1 | noarch | PHP libraries and applications (openSUSE_Leap_15.3)
i+ | phpMyAdmin-apache | Paket | 5.1.1-lp153.378.1 | noarch | PHP libraries and applications (openSUSE_Leap_15.3)
i+ | phpMyAdmin-lang | Paket | 5.1.1-lp153.378.1 | noarch | PHP libraries and applications (openSUSE_Leap_15.3)
Danke für die Hilfe.
Mit freundlichen Grüßen
gindi
Du hast natürlich ein Entwickler Repo eingebunden und daraus php8 installiert.
Die Entwickler warten natürlich auf Rückmeldung, in diesem Fall Bugreport:
https://bugzilla.opensuse.org/index.cgi
Benutzername/Passwort wie hier im Forum.
https://de.opensuse.org/SDB:Fehler_berichten
Das war mir nicht bewußt, daß ich ein Entwickler Repo eingebunden hatte.
Noch unter Leap15.1 hatte ich nach einer Möglichkeit gesucht, eine aktuellere Php Version, mit einer höheren Versionsnummer, zu installieren und bin in irgendeinem Forum auf dieses Repository gestoßen. Ich war zufrieden und hatte immer aktuelle updates von php. Bei dem Upgrade auf Leap 15.2 habe ich das Repository behalten und danach nur die Version auf 15.2 geändert. das hatte ich jetzt auch bei Leap 15.3 gemacht.
Ich entschuldige mich dafür.
Jetzt habe ich das Repository gelöscht und das Upgrade auf 15.3 nochmal durchgeführt, jetzt mit php7.
Mit freundlichen Grüßen
gindi