• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Add composant zip on PHP

PabloFr

New Pleskian
Plesk 9.5.4
CentOS release 5.7 (Final)
PHP Version 5.3.3

Hello

I would like to enable php in zip ('--enable-zip')

It worked on my old server.

If someone could tell me how, thank you.

(How can I compile php?)


Old server :

'./configure' '--with-apxs2=/usr/bin/apxs2' '--with-mysql' '--with-openssl' '--enable-calendar' '--with-curl' '--with-mcrypt' '--enable-zip' '--with-zlib-dir=/usr' '--with-config-file-path=/etc/php5/php.ini' '--enable-soap' '--enable-ftp' '--enable-mbstring' '--with-xsl' '--with-tidy' '--with-gd' '--enable-apc' '--with-dom' '--with-dom-xslt' '--with-xml' '--enable-xslt' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--with-jpeg' '--with-jpeg-dir=/usr/lib/j2se/1.4/jre/lib/i386/' '--enable-gd-native-ttf' '--with-t1lib=/usr/lib' '--with-gettext' '--enable-exif' '--with-freetype-dir=/usr/lib' '--with-xpm-dir=/usr/lib' '--with-pdo-mysql'

Zip enabled
Extension Version $Id: php_zip.c,v 1.1.2.31 2007/03/14 15:02:20 iliaa Exp $
Zip version 2.0.0
Libzip version 0.7.1


New server :

'./configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'


Zip enabled
Extension Version $Id: php_zip.c 300470 2010-06-15 18:48:33Z pajoye $
Zip version 1.9.1
Libzip version 0.9.0
 
Back
Top