• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Change the php version of nextcloud

stefan-franz

Basic Pleskian
Hallo, who can i change the php version in Plesk? I switched to 7.4.18

1622229702530.png



But Nextcloud use 7.2.24


root@h2937523:~# sudo -u www-data php /var/www/vhosts/stefan-franz.de/nextcloud/occ maintenance:repair
This version of Nextcloud requires at least PHP 7.3<br/>You are currently running 7.2.24-0ubuntu0.18.04.7. Please update your PHP version.root@h2937523:~#
 
You are running a shell command. On your shell, the default PHP version is the one that your operating system provides. To change that version, follow the steps described here:

If you are not the server admin, hence cannot access paths outside your subscription, you can create a crontab job, set it to "inactive", where you choose your PHP version to run the occ command. Click "run now" to execute the job once. That is equivalent to running the occ command on the shell with the desired PHP version.
 
That Command is not running in your manual

root@h2937523:~# ln -s /opt/plesk/php/7.4/bin/php /var/www/vhosts/chroot/bin/phproot@h2937523:~# ./update_chroot.sh --apply all
-bash: ./update_chroot.sh: Datei oder Verzeichnis nicht gefunden
 
Is there anyone of the developer of plesk?
I had a wish: Could you make it so, that the php version that is set in the website-settings really used by the (in my case) nextcloud?
I think it's a bug.
 
Back
Top