• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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