- Server operating system version
- Obsidian
- Plesk version and microupdate number
- Web Host Edition
Hello Everyone,
I need to install mongodb php extension into my pesk with different PHP version. Here is the problem:
Launch the command:
# /opt/plesk/php/8.0/bin/pecl version
PEAR Version: 1.10.13
PHP Version: 8.0.25
Zend Engine Version: 4.0.25
Running on: Linux vps-db****** 4.19.0-21-cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64
Now, trying to install mongodb:
# /opt/plesk/php/8.0/bin/pecl install mongodb
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed
Check for phpize if present:
# /opt/plesk/php/8.0/bin/phpize --version
Configuring for:
PHP Api Version: 20200930
Zend Module Api No: 20200930
Zend Extension Api No: 420200930
I cannot figure out what is the problem. Maybe pecl uses wrong configuration bug when I use /opt/plesk/php/8.0/bin/pecl config-show everything seems fine.
I need to install mongodb php extension into my pesk with different PHP version. Here is the problem:
Launch the command:
# /opt/plesk/php/8.0/bin/pecl version
PEAR Version: 1.10.13
PHP Version: 8.0.25
Zend Engine Version: 4.0.25
Running on: Linux vps-db****** 4.19.0-21-cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64
Now, trying to install mongodb:
# /opt/plesk/php/8.0/bin/pecl install mongodb
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed
Check for phpize if present:
# /opt/plesk/php/8.0/bin/phpize --version
Configuring for:
PHP Api Version: 20200930
Zend Module Api No: 20200930
Zend Extension Api No: 420200930
I cannot figure out what is the problem. Maybe pecl uses wrong configuration bug when I use /opt/plesk/php/8.0/bin/pecl config-show everything seems fine.