Hi! I have successfully installed and used Nextcloud on my VPS with ISPconfig. (Debian 9) I used this tutorial to get a more recent version of php: https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/ The site works well, but since the last update of Nextcloud 16 when I want to run the occ command in my shell, I have the following error: . I'm probably a little noob but it seems that the occ command doesn't care about the php version setting made in the ISPConfig panel. Is there a way to force the php version for the occ command? Thanks, simpey. (I really need the occ command to scan the files I copy from the command line...)
Oops, sorry, I already found the answer. I had done some research before posting but I obviously hadn't done enough dig on Google's results. Thanks to this article: https ://help.dreamhost.com/hc/en-us/articles/214202148-How-do-I-change-the-PHP-version-my-shell-uses- So I added this line to my.bashrc file: alias php71=/opt/php-7.1/bin/php I can now use successfuly the command "php71 occ [...]" Hopefully my post may be useful for others...