• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

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