Skip to content

PHP Selector: explain which PHP runs where and how versions are installed - #349

Open
NikolayVoina wants to merge 1 commit into
cloudlinux:masterfrom
NikolayVoina:docs-php-which-version-runs-where
Open

NikolayVoina wants to merge 1 commit into
cloudlinux:masterfrom
NikolayVoina:docs-php-which-version-runs-where

Conversation

@NikolayVoina

Copy link
Copy Markdown
Contributor

Admins keep asking the same four questions about PHP Selector. This adds short answers to the existing PHP Selector sections (no new pages or headings):

  • Installation and update: how to install one alt-php version (yum groupinstall alt-php82), that extensions are separate packages per version, that PHP Selector lists only installed extensions and the versions enabled in Supported versions, cagefsctl --setup-cl-selector when an installed version is not listed, and the ALT-ELS repositories on CloudLinux OS 10.
  • cPanel instructions: alt-php is not installed or managed through WHM EasyApache 4.
  • Detect user's PHP version: a tip that SSH sessions and cron jobs of a user run inside CageFS with the account's PHP Selector version (users in the wheel group are not placed in CageFS by default), that website-only options (php_value in .htaccess, .user.ini) do not apply there, how to run a specific version by full path, and that root runs the native PHP.
  • global_php.ini: the example is rendered as a code block (it showed as one line), and the format rule replaces "Sections are ignored": options go below a section line, and a file with an option above it or a line that is not option = value is ignored without an error.

Every statement was checked against the cagefs and CloudLinux Manager sources and the existing docs; all link anchors exist on the live site. 30 lines added, 6 removed, one file.

…lled

- Installation and update: install one alt-php version with its group,
  extensions are separate packages per version, PHP Selector lists only
  installed extensions and enabled versions, cagefsctl --setup-cl-selector
  when an installed version is missing, ALT-ELS repositories on CL10.
- cPanel: alt-php is not installed through EasyApache 4.
- Detect user's PHP version: SSH sessions and cron jobs of a user run
  inside CageFS with the account's PHP Selector version; website-only
  options do not apply there; root runs the native PHP.
- global_php.ini: the example as a code block and the format rule
  (options below a section line, every line is option = value).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants