• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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