composer : The Process class relies on proc_open, which is not available on your PHP installation.
Posted: 2023 May 03, 19:48
Execution of composer update command, the following error is found
Solution
Edit file /etc/php.ini and replace the following line
with line
Code: Select all
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 20 installs, 2 updates, 0 removals
- Installing drupal/coder (8.3.1):
Installation failed, reverting ./composer.json to its original content.
[Symfony\Component\Process\Exception\RuntimeException]
The Process class relies on proc_open, which is not available on your PHP installation.
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
Edit file /etc/php.ini and replace the following line
Code: Select all
disable_functions = "exec,passthru,shell_exec,system,proc_open,popen,show_source"
Code: Select all
disable_functions = "exec,passthru,shell_exec,system,popen,show_source"