• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question More info on phpenv

Server operating system version
CentOS 7/8
Plesk version and microupdate number
Plesk Obsidian 18.0.44
In the changelog for Plesk Obsidian 18.0.44 it says “The console now works using a domain’s PHP version instead of the system PHP.”

We use chroot extensively and I have a setup where I add all available PHP versions and have symlinks in the PATH, including a symlink for `php` to the most recent version.

I would like to use phpenv instead to have it point to the configured PHP version for that domain by default. How can I do this? How does phpenv know what PHP version is configured from the Plesk interface? How does the feature in the update work, exactly? I would like more information so that I can use/customise this feature.
 
Back
Top