Changing PHP settings does not trigger Event Handler Physical Hosting Updated
In Plesk 12.5 when I go to Hosting Settings and change PHP version, the trigger for Physical Hosting Updated does not get run.
I have a Drupal site with Drush where I would like to update the path to the current PHP binary the site is using.
This can be done via a script that writes to <HomeDir>/.profile
export PATH=/opt/plesk/php/5.6/bin:$PATH
export DRUSH_PHP=/opt/plesk/php/5.6/bin/php
Thank you. The bug is confirmed (PPPM-3251) and will be fixed in one of nearest microupdates. In future please prefer posting bugs and problems in http://forum.odin.com/ – this portal is for feature requests.
—
IG
-
Stéphan S commented
Thanks for the fix, the issue seems relevant to Plesk 12.5 aswell (just tested this in a docker instance).
I didn't know this was a feature, but looking at the env being dumped it does indeed seem that this was supposed to be a working feature.