- π©πͺGermany Anybody Porta Westfalica
Just ran into this issue with upgrade_status 4.0.0 on a plesk hosted website with php 8.1. So I tried the patch.
open_basedir is configured in plesk as:
{WEBSPACEROOT}{/}{:}{TMP}{/}
Error before:
The PHP binary was not found. Scanning is not possible until this is resolved.
Installed the patch
- Installing drupal/upgrade_status (4.0.0): Extracting archive - Applying patches for drupal/upgrade_status https://git.drupalcode.org/project/upgrade_status/-/merge_requests/26.diff (PHP directory attempted to be used to run PHP, instead of the binary)
Cleared caches and reloaded
/admin/reports/upgrade-status
Error afterwards is the same:
The PHP binary was not found. Scanning is not possible until this is resolved.
My current workaround is similar to change the open_basedir to:
{WEBSPACEROOT}{/}{:}{TMP}{/}{:}{/}opt{/}plesk{/}php{/}8.1{/}bin{/}
I wrote a blog post about the workaround, if it helps someone: https://julian.pustkuchen.com/en/run-drupal-8-upgrade-status-module-ples...
So sadly my manual testing says, this doesn't work - at least in our case. Nor it changes the error message.
Any ideas?