"Website had no PHP version installed" Error
This error typically occurs during the 1-click app installation process when the orchestration layer fails to detect the active PHP binary within the website's application container.
How to Resolve
You can usually resolve this by forcing a configuration refresh. This triggers the platform to rewrite the PHP handler settings for the container.
- Navigate to the Website Dashboard for the affected site.
- Go to Settings or PHP Settings.
- Change the current PHP version to any other available version (e.g., if on 8.1, switch to 8.2).
- Wait for the change to complete, then switch it back to your preferred version.
- Retry the app installation.
Technical Note
The "toggle" method ensures that the appcd service correctly maps the PHP executable path to the website's virtual filesystem (vfs), clearing any stale metadata that caused the initial error.