• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue PHP extensions disappeared

Martin73

Basic Pleskian
Today I realized that the PHP extensions have disappeared. It should look like this. Looks like something is disabled in my server setting. How can I activate the PHP extensions?
 

Attachments

  • PHP_Plesk.PNG
    PHP_Plesk.PNG
    21.8 KB · Views: 15
Can you see loaded modules with command

# /opt/plesk/php/7.1/bin/php -m

?
 
This is the output:
Code:
/root$ /opt/plesk/php/7.1/bin/php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
enchant
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imagick
imap
intl
ionCube Loader
json
ldap
libxml
mbstring
mcrypt
memcached
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
redis
Reflection
session
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)
 
I did what he said.
0- php -v

PHP 7.4.4 (cli) (built: Mar 20 2020 15:04:26) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.4, Copyright (c), by Zend Technologies

1 - yum install epel-release
2 - yum install gcc plesk-php74-devel zlib-devel
3 - /opt/plesk/php/7.4/bin/pecl install gmp
Failed :(
Notice: Trying to access array offset on value of type bool in PEAR/REST.php on line 187
PHP Notice: Trying to access array offset on value of type bool in /opt/plesk/php/7.4/share/pear/PEAR/REST.php on line 187
No releases available for package "pecl.php.net/gmp"
install failed
 
Same issue with ubuntu instance.
I can see the gmp module through
/opt/plesk/php/7.3/bin/php -m
Ran following commands
sudo apt install autoconf automake gcc libhashkit-dev pkg-config plesk-php73-dev zlib1g-dev - worked fine
then ran /opt/plesk/php/7.3/bin/pecl install gmp
this gave following error

Code:
No releases available for package "pecl.php.net/gmp"
install failed
 
I cannot see is it under settings
If you look at phpinfo() > Configure Command you will see '--with-gmp' there, which means that this is a statically compiled php module. Obviously, such modules can't be managed through Plesk interface because they are always enabled.
 
Back
Top