php7.0-fpm mit php5-cli kombinieren?

stefkey

Member
[solved] php7.0-fpm mit php5-cli kombinieren?

Hallo,

wenn ich apt-get install php7.0-fpm ausführen möchte will es php7.0-cli auch installieren. Mit php7-cli habe ich aber ein Problem mit meiner Neos Installation.

Beim Webserver (nginx) kann ich ja für jeden host die php-Version konfigurieren. Kann ich auch für die Shell unterschiedliche php Version nutzen?
 
Last edited by a moderator:
Und gleich die Antwort hinterher :mad:

einfach die neue Version installieren mit apt-get install php7.0-cli

Und wenn man dann die php5 in der Konsole braucht nimmt man einfach:
/usr/bin/php5 statt nur php

:D
 
Back
Top