Laboratorio NetForgeNetForge lab più versioni di PHPmultiple PHP versions

Tre versioni di PHP, un serverThree PHP versions, one server

Con arx la versione di PHP la sceglie il sito, non il server. Qui ne girano tre insieme: apri ognuna e guarda la stessa pagina eseguita da un PHP diverso.

With arx the PHP version is chosen by the site, not by the server. Three of them run side by side here: open each one and see the same page run by a different PHP.

Le versioniThe versions

Tutte con aggiornamenti di sicurezza. Le versioni fuori supporto, come la 7.4 o la 8.1, arx le installa lo stesso, ma su un server pubblico non conviene. Questa pagina gira su PHP 8.4.

All still get security fixes. Unsupported versions such as 7.4 or 8.1 can be installed too, but are not wise on a public server. This page runs on PHP 8.4.

Come funzionaHow it works

Controllalo da teCheck it yourself

for v in 83 84 85; do curl -s "https://php$v.selif.org/?v"; done

Stampa le tre versioni esatte, una per sito.

It prints the three exact versions, one per site.