• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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