• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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