Hallo und guten Tag 
ich versuche mehrere PHP-Versionen auf einem cPanel Server zu betreiben. Regulär läuft PHP 5.4.28 auf dem Server. Nun wollte ich zusätzlich PHP 5.3.28 per Hand installieren. Ich habe mich hierbei an diese Anleitung gehalten:
How to configure Dual Php or two versions of php on a linux / cpanel server | Server Management 24x7 | List of Benchmarking Tools for Apache and MySQL !
Es funktioniert auch alles soweit nur an einem Punkt habe ich etwas anderes als in der Anleitung:
Es gibt bei mir kein php-cgi sondern nur php im Verzeichnis/opt/php53/bin
Ich habe also bei mir
eingetragen.
Es ist nun so das PHP 5.3 nicht funktioniert. Will ich eine Webseite mittels AddHandler application/x-httpd-php53 .php in der .htaccess aufrufen klappt das nicht die Webseite wird nicht geparst stattdessen bietet er mir die Datei zum Download an.
Was mache ich falsch bzw. kennt jemand eine Anleitung für verschiedene PHP Versionen die sicher funktioniert?
Vielen Dank und
Freundliche Grüsse
Jan
ich versuche mehrere PHP-Versionen auf einem cPanel Server zu betreiben. Regulär läuft PHP 5.4.28 auf dem Server. Nun wollte ich zusätzlich PHP 5.3.28 per Hand installieren. Ich habe mich hierbei an diese Anleitung gehalten:
How to configure Dual Php or two versions of php on a linux / cpanel server | Server Management 24x7 | List of Benchmarking Tools for Apache and MySQL !
Es funktioniert auch alles soweit nur an einem Punkt habe ich etwas anderes als in der Anleitung:
PHP:
## at the bottom you’ll see a like like ‘application/x-httpd-php5=”php:/usr/bin/php”‘, add the following below that line ##
application/x-httpd-php53=”php:/opt/php53/bin/php-cgi”
Ich habe also bei mir
PHP:
## at the bottom you’ll see a like like ‘application/x-httpd-php5=”php:/usr/bin/php”‘, add the following below that line ##
application/x-httpd-php53=”php:/opt/php53/bin/php”
Es ist nun so das PHP 5.3 nicht funktioniert. Will ich eine Webseite mittels AddHandler application/x-httpd-php53 .php in der .htaccess aufrufen klappt das nicht die Webseite wird nicht geparst stattdessen bietet er mir die Datei zum Download an.
Was mache ich falsch bzw. kennt jemand eine Anleitung für verschiedene PHP Versionen die sicher funktioniert?
Vielen Dank und
Freundliche Grüsse
Jan