• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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