PHP‑versies, extensies & modules
Bekijk PHP‑versies, extensies en modules bij Simply.com, en wijzig de PHP‑versie via het controlepaneel of .htaccess.
Op de Linux-servers van Simply.com streven we ernaar om de meest gebruikte PHP-modules geïnstalleerd te hebben, terwijl we de servers zo stabiel en snel mogelijk houden.
Wij bieden alle PHP-versies vanaf 5.6 en nieuwer.
Ioncube is geïnstalleerd op alle PHP-webhostingpakketten.
PHP-versie wijzigen
Je kunt zelf de PHP-versie voor je product wijzigen via ons Controlepaneel. Dit doe je onder Website -> PHP-versie.
Wanneer de versie hier wordt gewijzigd, overschrijft dit eventuele versies die mogelijk in het .htaccess-bestand zijn ingesteld.
PHP-versie wijzigen voor een specifieke map/hostnaam (geavanceerd)
Wil je een specifieke PHP-versie gebruiken, dan kun je dit wijzigen door een directive toe te voegen aan je .htaccess-bestand.
Je hebt toegang tot het .htaccess-bestand via onze File Manager of via FTP. Als het bestand niet bestaat, moet je het aanmaken.
| PHP-versie | .htaccess-directive |
|---|---|
| Nieuwste stabiele (momenteel PHP 8.4) | AddType application/x-httpd-php-latest .php |
| 8.4 | AddType application/x-httpd-php84 .php |
| 8.3 | AddType application/x-httpd-php83 .php |
| 8.2 | AddType application/x-httpd-php82 .php |
| 8.1 | AddType application/x-httpd-php81 .php |
| 8.0 | AddType application/x-httpd-php80 .php |
| 7.4 | AddType application/x-httpd-php74 .php |
| 7.3 | AddType application/x-httpd-php73 .php |
| 7.2 | AddType application/x-httpd-php72 .php |
| 7.1 | AddType application/x-httpd-php71 .php |
| 7.0 | AddType application/x-httpd-php70 .php |
| 5.6 | AddType application/x-httpd-php56 .php |
Binary
De /usr/local/bin/php-binary volgt automatisch de PHP-versie die in het .htaccess-bestand is opgegeven. Composer maakt ook gebruik van deze.
Artikel uit de ondersteuningscategorie: PHP