• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question add one extension (shmop) to php

javierflti

New Pleskian
Hello friends
I have a problem and i cannot find the solution

I need install a extension (shmop) in one of my php handlers (installed by plesk), but i dont know to make it.

i think that i need to recompile php with --enable-shmop, but i dont now how to make it.

It is possible?
Thanks
 
I can give you just common instruction, example, direction how to compile and register your own PHP version with --enable-shmop option in Plesk. You can modify and correct it with as you want.

# yum install make gcc curl-devel libpng-devel openldap-devel unixODBC-devel aspell-devel net-snmp-devel libxslt-devel
# cd /usr/local/src
# mkdir php72
# cd php72
# wget https://downloads.php.net/~remi/php-7.2.0RC4.tar.gz
# tar xzvf php-7.2.0RC4.tar.gz
# cd php-7.2.0RC4
# ./configure '--with-libdir=lib64' '--cache-file=../config.cache' '--prefix=/usr/local/php72-cgi' '--with-config-file-path=/usr/local/php72-cgi/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/local/php72-cgi' '--with-png-dir=/usr/local/php72-cgi' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr/local/php72-cgi' '--with-openssl' '--with-pspell' '--with-pcre-regex' '--with-zlib' '--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--with-unixODBC=/usr' '--enable-shmop' '--enable-calendar' '--without-sqlite3' '--with-libxml-dir=/usr/local/php72-cgi' '--enable-pcntl' '--with-imap-ssl' '--enable-mbstring' '--enable-mbregex' '--with-gd' '--enable-bcmath' '--with-xmlrpc' '--with-ldap' '--with-ldap-sasl' '--with-mysql=/usr' '--with-mysqli' '--with-snmp' '--enable-soap' '--with-xsl' '--enable-xmlreader' '--enable-xmlwriter' '--enable-pdo' '--with-pdo-mysql' '--with-pdo-pgsql' '--with-pear=/usr/local/php72-cgi/pear' '--with-mcrypt' '--enable-intl' '--without-pdo-sqlite' '--with-config-file-scan-dir=/usr/local/php72-cgi/php.d'
# make
# make install
# /usr/local/psa/bin/php_handler --add -displayname 7.2.RC4 -path /usr/local/php72-cgi/bin/php -phpini /usr/local/php72-cgi/etc/php.ini -type fastcgi -id php72rc4-fastcgi -clipath /usr/local/php72-cgi/bin/php

After that you will be able to use 7.2.RC4 version in Plesk interface.
 
Back
Top