Am Dienstag, dem 07.10.2025 um 15:00 +0200 schrieb Boris:
Moin Jürgen,
der Apache und PHP arbeiten auf der Box nicht zusammen.
Schau' doch mal mit a2query -m , ob das PHP Modul geladen ist.
Außerdem kannst Du mir dpkg -l | grep php schauen, ob noch Komponenten
in Version 7.x installiert sind, diese deinstallieren und gleichnamige
Komponenten in 8.x installieren.
Ein bisschen Handarbeit, aber m.E. kein Grund für eine Rücksicherung.
Good Luck,
Boris
So sieht das bei mir aus (sorry für html, aber damit passen die
Zeilenumbrüche bei dpkg-query --list | grep php besser)
root@server <mailto:root@server>:*# a2query -m
access_compat (enabled by maintainer script)
status (enabled by maintainer script)
setenvif (enabled by maintainer script)
authn_core (enabled by maintainer script)
authz_user (enabled by maintainer script)
filter (enabled by maintainer script)
authn_file (enabled by maintainer script)
autoindex (enabled by maintainer script)
env (enabled by maintainer script)
authz_host (enabled by maintainer script)
negotiation (enabled by maintainer script)
mpm_prefork (enabled by maintainer script)
auth_basic (enabled by maintainer script)
dir (enabled by maintainer script)
reqtimeout (enabled by maintainer script)
authz_core (enabled by maintainer script)
deflate (enabled by maintainer script)
alias (enabled by maintainer script)
mime (enabled by maintainer script)
Und das zeigt mir
<mailto:root@server>
root@server <mailto:root@server>:*# dpkg-query --list | grep php:
rc libapache2-mod-
php7.4 7.4.33-1+deb11u9 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-mod-
php8.2 8.2.29-1~deb12u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php 2:8.2+93 all server-side,
HTML-embedded scripting language (default)
ii php-
apcu 5.1.22+4.0.11-2 amd64 APC
User Cache for PHP
rc php-apcu-bc 1.0.5-5 amd64 APCu
Backwards Compatibility Module
ii php-bz2 2:8.2+93 all bzip2
module for PHP [default]
ii php-common 2:93 all Common
files for PHP packages
ii php-composer-ca-
bundle 1.3.5-1 all utility
library to find a path to the system CA bundle
ii php-curl 2:8.2+93 all CURL
module for PHP [default]
ii php-fig-http-message-
util 1.1.5-2 all Utility classes
and constants to facilitate using PSR-7
ii php-gd 2:8.2+93 all GD module
for PHP [default]
ii php-
getallheaders 3.0.3-3 all A
polyfill for getallheaders
ii php-gmp 2:8.2+93 all GMP
module for PHP [default]
ii php-google-
recaptcha 1.2.4-5 all reCAPTCHA
PHP client library
ii php-
intl 2:8.2+93 all Internationalisation module for PHP [default]
ii php-mariadb-mysql-
kbs 1.2.14-1 all Knowledge base
about MariaDB and MySQL server variables
ii php-
mbstring 2:8.2+93 all MBSTRING
module for PHP [default]
ii php-mcrypt 3:1.0.5-4 amd64 PHP
bindings for the libmcrypt library
ii php-mysql 2:8.2+93 all MySQL
module for PHP [default]
ii php-nikic-fast-
route 1.3.0-4 all Fast request
router for PHP
ii php-phpmyadmin-
motranslator 5.3.0-1 all translation API for PHP using Gettext MO files
ii php-phpmyadmin-
shapefile 3.0.1-2 all ESRI
ShapeFile library for PHP
ii php-phpmyadmin-sql-
parser 5.7.0-2 all validating SQL
lexer and parser
ii php-psr-
cache 1.0.1-3 all Common
interface for caching libraries
ii php-psr-
container 1.1.2-1 all Common
Container Interface (PHP FIG PSR-11)
ii php-psr-http-
factory 1.0.1-3 all Common
interfaces for PSR-7 HTTP message factories
ii php-psr-http-
message 1.0.1-3 all Common
interface for HTTP messages
ii php-psr-log 1.1.4-2 all common
interface for logging libraries
ii php-slim-
psr7 1.6.1-1 all Strict PSR-7
implementation used by the Slim Framework
ii php-symfony-
cache 5.4.23+dfsg-1+deb12u4 all provides extended PSR-6, PSR-16 (and tags) implementations
ii php-symfony-cache-
contracts 2.5.2-1+deb12u1 all Generic abstractions related to caching
ii php-symfony-
config 5.4.23+dfsg-1+deb12u4 all load configurations from different data sourc es
ii php-symfony-dependency-
injection 5.4.23+dfsg-1+deb12u4 all standardize and centralize construction of objects
ii php-symfony-deprecation-
contracts 2.5.2-1+deb12u1 all A
generic function and convention to trigger deprecation notices
ii php-symfony-expression-
language 5.4.23+dfsg-1+deb12u4 all compile and evaluate expressions
ii php-symfony-
filesystem 5.4.23+dfsg-1+deb12u4 all basic filesystem utilities
ii php-symfony-polyfill-
php80 1.27.0-2 all Symfony
polyfill backporting some PHP 8.0+ features to lower PHP versions
ii php-symfony-service-
contracts 2.5.2-1+deb12u1 all Generic abstractions related to writing services
ii php-symfony-var-
exporter 5.4.23+dfsg-1+deb12u4 all export serializable PHP data structure to plain PHP code
ii php-symfony-
yaml 5.4.23+dfsg-1+deb12u4 all convert YAML to PHP arrays and the other way around
ii php-
tcpdf 6.6.2+dfsg1-1+deb12u1 all PHP class for generating PDF files on-the-fly
ii php-
twig 3.5.1-1+deb12u1 all Flexible, fast, and secure template engine for PHP
ii php-twig-i18n-
extension 4.0.1-2 all i18n
extension for the Twig template system
ii php-webmozart-
assert 1.11.0-1 all Assertions to
validate method input/output with nice error messages
ii php-
wikidiff2 1.13.0-1+b3 amd64 external diff engine for mediawiki
ii php-xml 2:8.2+93 all DOM,
SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php-
yaml 2.2.2+2.1.0+2.0.4+1.3.2-6 amd64 YAML-1.1 parser and emitter for PHP
ii php-zip 2:8.2+93 all Zip
module for PHP [default]
rc php7.4-
bz2 7.4.33-1+deb11u9 amd64 bzip2
module for PHP
rc php7.4-
cli 7.4.33-1+deb11u9 amd64 command-line interpreter for the PHP scripting language
rc php7.4-
common 7.4.33-1+deb11u9 amd64 documentation, examples and common module for PHP
rc php7.4-
curl 7.4.33-1+deb11u9 amd64 CURL
module for PHP
rc php7.4-
gd 7.4.33-1+deb11u9 amd64 GD
module for PHP
rc php7.4-
gmp 7.4.33-1+deb11u9 amd64 GMP
module for PHP
rc php7.4-
intl 7.4.33-1+deb11u9 amd64 Internationalisation module for PHP
rc php7.4-
json 7.4.33-1+deb11u9 amd64 JSON
module for PHP
rc php7.4-
mbstring 7.4.33-1+deb11u9 amd64 MBSTRING module for PHP
rc php7.4-
mysql 7.4.33-1+deb11u9 amd64 MySQL module for PHP
rc php7.4-
opcache 7.4.33-1+deb11u9 amd64 Zend OpCache module for PHP
rc php7.4-
readline 7.4.33-1+deb11u9 amd64 readline module for PHP
rc php7.4-
xml 7.4.33-1+deb11u9 amd64 DOM,
SimpleXML, XML, and XSL module for PHP
rc php7.4-
zip 7.4.33-1+deb11u9 amd64 Zip
module for PHP
ii
php8.2 8.2.29-1~deb12u1 all server-side, HTML-embedded scripting language (metapackage)
ii php8.2-
apcu 5.1.22+4.0.11-2 amd64 APC
User Cache for PHP
ii php8.2-
bz2 8.2.29-1~deb12u1 amd64 bzip2
module for PHP
ii php8.2-
cli 8.2.29-1~deb12u1 amd64 command-line interpreter for the PHP scripting language
ii php8.2-
common 8.2.29-1~deb12u1 amd64 documentation, examples and common module for PHP
ii php8.2-
curl 8.2.29-1~deb12u1 amd64 CURL
module for PHP
ii php8.2-
gd 8.2.29-1~deb12u1 amd64 GD
module for PHP
ii php8.2-
gmp 8.2.29-1~deb12u1 amd64 GMP
module for PHP
ii php8.2-
intl 8.2.29-1~deb12u1 amd64 Internationalisation module for PHP
ii php8.2-
mbstring 8.2.29-1~deb12u1 amd64 MBSTRING module for PHP
ii php8.2-
mcrypt 3:1.0.5-4 amd64 PHP
bindings for the libmcrypt library
ii php8.2-
mysql 8.2.29-1~deb12u1 amd64 MySQL module for PHP
ii php8.2-
opcache 8.2.29-1~deb12u1 amd64 Zend OpCache module for PHP
ii php8.2-
phpdbg 8.2.29-1~deb12u1 amd64 server-side, HTML-embedded scripting language (PHPDBG binary)
ii php8.2-
readline 8.2.29-1~deb12u1 amd64 readline module for PHP
ii php8.2-
xml 8.2.29-1~deb12u1 amd64 DOM,
SimpleXML, XML, and XSL module for PHP
ii php8.2-
yaml 2.2.2+2.1.0+2.0.4+1.3.2-6 amd64 YAML-1.1 parser and emitter for PHP
ii php8.2-
zip 8.2.29-1~deb12u1 amd64 Zip
module for PHP
ii
phpmyadmin 4:5.2.1+dfsg-1+deb12u1 all MySQL web administration tool
Ich gehe davon aus, dass rc= empfohlen und ii= installiert, stimmt das?
Sollte ich die hier empfohlenen, aber nicht installierten Sachen
nachinstallieren?
In synaptic sehe ich, dass nur php8.4 installiert ist. Kannst du damit
etwas anfangen?