Eine Testseite mit "phpinfo" zeigt nur eine leere Seite an und
http://localhost/phpmyadmin/ zeigt nur wirres Zeug an.
$dpkg -l |grep php
ii libapache2-mod-php7.0 7.0.19-1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php 1:7.0+52 all server-side, HTML-embedded scripting language (default)
ii php-common 1:52 all Common files for PHP packages
ii php-mbstring 1:7.0+52 all MBSTRING module for PHP [default]
ii php-mysql 1:7.0+52 all MySQL module for PHP [default]
ii php-pear 1:1.10.1+submodules+notgz-9 all PEAR Base System
ii php-php-gettext 1.0.12-0.1 all read gettext MO files directly, without requiring anything other than PHP
ii php-phpseclib 2.0.4-1 all implementations of an arbitrary-precision integer arithmetic library
ii php-xml 1:7.0+52 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php7.0 7.0.19-1 all server-side, HTML-embedded scripting language (metapackage)
ii php7.0-cli 7.0.19-1 amd64 command-line interpreter for the PHP scripting language
ii php7.0-common 7.0.19-1 amd64 documentation, examples and common module for PHP
ii php7.0-json 7.0.19-1 amd64 JSON module for PHP
ii php7.0-mbstring 7.0.19-1 amd64 MBSTRING module for PHP
ii php7.0-mysql 7.0.19-1 amd64 MySQL module for PHP
ii php7.0-opcache 7.0.19-1 amd64 Zend OpCache module for PHP
ii php7.0-readline 7.0.19-1 amd64 readline module for PHP
ii php7.0-xml 7.0.19-1 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
ii phpmyadmin 4:4.6.6-4 all MySQL web administration tool
ls /etc/apache2/mods-enabled
access_compat.load authn_core.load authz_user.load deflate.load filter.load mpm_event.load reqtimeout.load status.load
alias.conf authn_file.load autoindex.conf dir.conf mime.conf negotiation.conf setenvif.conf
alias.load authz_core.load autoindex.load dir.load mime.load negotiation.load setenvif.load
auth_basic.load authz_host.load deflate.conf env.load mpm_event.conf reqtimeout.conf status.conf
# a2enmod php7.0
Considering dependency mpm_prefork for php7.0:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork:
ERROR: Could not enable dependency mpm_prefork for php7.0, aborting
hier wusste ich zunächst nicht weiter.
# a2dismod mpm_event
Module mpm_event disabled.
To activate the new configuration, you need to run:
systemctl restart apache2
root@kde:/etc/apache2/conf-available# a2enmod php7.0
Considering dependency mpm_prefork for php7.0:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Enabling module mpm_prefork.
Considering conflict php5 for php7.0:
Enabling module php7.0.
To activate the new configuration, you need to run:
systemctl restart apache2
root@kde:/etc/apache2/conf-available# systemctl restart apache2
jetzt laufen phpmyadmin und phpinfo.
Habe mir meine Frage also selbst beantwortet. Bleibt nur die Frage, ob das so seine Richtigkeit hat. Da ist noch von irgendwelchen Konflikten die Rede.
Das ganze entstand, weil ich mehrmals apache und phpmyadmin gepurged habe, wegen des pywwetha Konflikts.
Ganz ehrlich, dass man wegen diesem pywwetha so rumbasteln muss, ist eine Zumutung.
Grüße, Christian