• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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