• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Install SSH2 PHP81 PECL error

LKNessy

New Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.56
Hey guys,

I tried to install SSH2 on Debian 11 with the following command:

Code:
plesk bin php_handler --extension-install ssh2 -id plesk-php81-fpm

but I got the following error:

Code:
...grep: write error: Broken pipe
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
/opt/plesk/php/8.1/bin/phpize: 154: /usr/bin/sed: not found
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
ERROR: `phpize' failed


exit status 1

Is there any package missing that I need to install first?
 
I fixed the issue myself.

Do the following:

Code:
apt-get install sed

and then:

Code:
ln -sf /bin/sed /usr/bin/sed

Retry the install with the command I posted above.
 
Back
Top