Hans | Pixel Creation
New Pleskian
- 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.
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.