-
-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Description
"Yes, this is possible" but "Note that this command will set default PHP version for the system and not for a specific user or a virtual server." Source: https://forum.virtualmin.com/t/changing-default-version-of-php-cli-for-virtual-host/117171
See also:
- https://forum.virtualmin.com/t/changing-default-php-cli-version-on-the-server/60103
- https://forum.virtualmin.com/t/setting-cli-php-version-5-6/54449
- https://forum.virtualmin.com/t/change-the-default-php-version-for-command-line-interface/107682
- https://forum.virtualmin.com/t/multiple-php-versions-but-not-adhering-selected-version-in-cli/109177
- https://dev.tiki.org/item7820-Installing-package-is-hardly-possible-on-shared-hosting-without-an-option-to-select-the-PHP-CLI-to-use#threadId9986
Since this causes support requests, we added to Tiki Check

To address this in ClearOS, here is a wrapper we had made a while back:
https://github.com/WikiSuite/app-php-engines/blob/master/packaging/php_wrapper
Thanks!
Metadata
Metadata
Assignees
Labels
No labels