You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When run curl -fsS https://platform.sh/cli/installer | php in containers like the official docker images Drupal or PHP, below error is shown:
curl -fsS https://platform.sh/cli/installer | php
Platform.sh CLI installer
Environment check
[*] The "json" PHP extension is installed.
[*] The "phar" PHP extension is installed.
[*] Git is installed.
[*] The "openssl" PHP extension is installed.
[*] The "pcre" PHP extension is installed.
[*] One or both of the "mbstring" or "iconv" PHP extensions is installed.
[*] The "curl" PHP extension is installed.
[!] The "pcntl" and "posix" extensions are needed for some commands.
[*] The "allow_url_fopen" setting is on.
[*] The "apc.enable_cli" setting is off.
Download
Finding the latest version... done
Downloading version 3.72.1... done
Checking file integrity... done
Checking that the file is a valid Phar... done
Install
Making the Phar executable... done
Moving the Phar to your home directory... done
Executable location: /var/www/.platformsh/bin/platform
Running self:install command...
Copying resource files... done
Setting up autocompletion... failed
Cannot generate hook for unknown shell type 'nologin'. Available hooks
are: bash, zsh
To set up the CLI, add the following lines to your shell configuration file:
# BEGIN SNIPPET: Platform.sh CLI configuration
HOME=${HOME:-'/var/www'}
export PATH="$HOME/"'.platformsh/bin':"$PATH"
if [ -f "$HOME/"'.platformsh/shell-config.rc' ]; then . "$HOME/"'.platformsh/shell-config.rc'; fi # END SNIPPET
The text was updated successfully, but these errors were encountered:
skyred
changed the title
Support installation in the common containers
Installation cannot recognize the shell in the common containers
Dec 20, 2021
When run
curl -fsS https://platform.sh/cli/installer | php
in containers like the official docker images Drupal or PHP, below error is shown:The text was updated successfully, but these errors were encountered: