PHP-Version auf Verzeichnis Basis

Januar 22, 2021
STREAMPANEL FAQ

Bei mehreren Domains in einen Account kann es nötig sein unterschiedliche PHP-Versionen einzusetzen. Hierbei haben Sie die Möglichkeit PHP auf Verzeichnis Basis einzusetzen.

Gehen Sie wie folgt vor um die PHP-Version für ein Verzeichnis zu ändern.

  1. Erstellen Sie eine “.htaccess” Datei im Verzeichnis wo Sie die PHP-Version anpassen möchten.
  2. Kopieren Sie den bevorzugten Abschnitt aus der unteren Auswahl in die “.htaccess” Datei und speichern die Datei.

PHP 8.2

AddType application/x-httpd-alt-php82___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 8.1

AddType application/x-httpd-alt-php81___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 8.0

AddType application/x-httpd-alt-php80___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 7.4

AddType application/x-httpd-alt-php74___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 7.3

AddType application/x-httpd-alt-php73___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 7.2

AddType application/x-httpd-alt-php72___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 7.1

AddType application/x-httpd-alt-php71___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 7.0

AddType application/x-httpd-alt-php70___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 5.6

AddType application/x-httpd-alt-php56___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 5.5

AddType application/x-httpd-alt-php55___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 5.4

AddType application/x-httpd-alt-php54___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 5.3

AddType application/x-httpd-alt-php53___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 5.2

AddType application/x-httpd-alt-php52___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 5.1

AddType application/x-httpd-alt-php51___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP 4.4

AddType application/x-httpd-alt-php44___lsphp .php5 .php4 .php .php3 .php2 .phtml

PHP-Version auf Account Basis

Alternativ setzen Sie die PHP-Version auf Account Basis. Klicken Sie hier um zum entsprechenden Eintrag zu gelangen.


Vorherigen Eintrag aufrufenNächsten Eintrag aufrufen


0 0 votes
Eintrag bewerten
Abonnieren
Benachrichtigen Sie mich bei
guest
0 Kommentare
Inline Feedback
Alle Kommentare anzeigen