• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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