Hi,
(m)eine absolute Einsteigerfrage:
hatte auf meinem Linux Mint 20 - Rechner ein funktionfähiges PHP 7.3 laufen.
Die Ausgabe von phpinfo.php im Browseraufruf hatte funktioniert:
<?php phpinfo(); ?>
Jetzt upgedatet auf PHP 7.4:
root@t540p:/var/www/html# php -v
PHP 7.4.23 (cli) (built: Aug 26 2021 15:51:37) ( NTS )
... sieht soweit gut aus, aber die Ausgabe vom obigen phpinfo.php liefert leider nur noch einen leeren Screen.
Ein einfaches "Hello World" hingegen funktioniert.
<?php
echo "Hallo Welt";
?>
Woran kann das liegen?
Die Ausgabe direkt auf der Shell ("php -f phpinfo.php") funktioniert auch einwandfrei.
Danke & Gruß
Tom
EDIT: installierte PHP-Pakete
php7.4-cli/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-common/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-curl/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installiert]
php7.4-dba/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installiert]
php7.4-json/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-mysql/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installiert]
php7.4-opcache/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-readline/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4/focal,focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 all [installiert]
(m)eine absolute Einsteigerfrage:
hatte auf meinem Linux Mint 20 - Rechner ein funktionfähiges PHP 7.3 laufen.
Die Ausgabe von phpinfo.php im Browseraufruf hatte funktioniert:
<?php phpinfo(); ?>
Jetzt upgedatet auf PHP 7.4:
root@t540p:/var/www/html# php -v
PHP 7.4.23 (cli) (built: Aug 26 2021 15:51:37) ( NTS )
... sieht soweit gut aus, aber die Ausgabe vom obigen phpinfo.php liefert leider nur noch einen leeren Screen.
Ein einfaches "Hello World" hingegen funktioniert.
<?php
echo "Hallo Welt";
?>
Woran kann das liegen?
Die Ausgabe direkt auf der Shell ("php -f phpinfo.php") funktioniert auch einwandfrei.
Danke & Gruß
Tom
EDIT: installierte PHP-Pakete
php7.4-cli/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-common/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-curl/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installiert]
php7.4-dba/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installiert]
php7.4-json/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-mysql/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installiert]
php7.4-opcache/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4-readline/focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 amd64 [Installiert,automatisch]
php7.4/focal,focal,now 7.4.23-1+ubuntu20.04.1+deb.sury.org+1 all [installiert]
Kommentar