News:

SMF - Just Installed!

Main Menu

Can't install PHP modules in Plesk: /usr/bin/sed: not found

Started by senthil, Oct 21, 2025, 06:15 AM

Previous topic - Next topic

senthil

Applicable to:

  • Plesk for Linux

Symptoms

The installation of PHP modules like memcached or APCu fail
running: phpize
/opt/plesk/php/7.4/bin/phpize: line 61: /usr/bin/sed: No such file or directory
grep: write error: Broken pipe
/opt/plesk/php/7.4/bin/phpize: line 62: /usr/bin/sed: No such file or directory
grep: write error: Broken pipe
/opt/plesk/php/7.4/bin/phpize: line 63: /usr/bin/sed: No such file or directory
grep: write error: Broken pipe
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
/opt/plesk/php/7.4/bin/phpize: line 154: /usr/bin/sed: No such file or directory
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
ERROR: `phpize' failed

Cause

The sed utility, used during the PHP extension installation process, is misconfigured or missing.

Resolution

To fix the problem, reinstall the package.

Note: The package name may differ from the instructions below depending
on the operating system


  • Connect to the server via SSH
  • Run this command to reinstall sed
    # dnf reinstall sed -y || apt install --reinstall sed -y