Per chi è interessato ad usare Laravel su AlterVista
sto facendo il porting del mio progetto su Laravel 10
condividendo in questa discussione problemi e soluzioni.
Questa è la prima modifica:
e dopo il build dell'immagine, eseguendola:Codice:Rognoni@Host-002 laravista % git diff diff --git a/Dockerfile b/Dockerfile index e34afcf..de560dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.3-apache +FROM php:8.2-apache
si ottiene questo Fatal errorCodice:Rognoni@Host-002 laravista % docker run --rm -p 80:80 -v "$PWD/src":/var/www/html --name running laravista AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message PHP Fatal error: Directive 'track_errors' is no longer available in PHP in Unknown on line 0 [Wed Jun 07 18:50:02.230755 2023] [:emerg] [pid 1] AH00020: Configuration Failed, exiting <br /> <b>Fatal error</b>: Directive 'track_errors' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br />![]()

3Likes
LinkBack URL
About LinkBacks



