Server IP : 172.67.216.182 / Your IP : 162.158.108.161 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/php/82/src/ext/zip/ |
Upload File : |
PHP_ARG_WITH([zip], [for zip archive read/write support], [AS_HELP_STRING([--with-zip], [Include Zip read/write support])]) if test "$PHP_ZIP" != "no"; then PKG_CHECK_MODULES([LIBZIP], [libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0]) PHP_EVAL_INCLINE($LIBZIP_CFLAGS) PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD) PHP_CHECK_LIBRARY(zip, zip_file_set_mtime, [ AC_DEFINE(HAVE_SET_MTIME, 1, [Libzip >= 1.0.0 with zip_file_set_mtime]) ], [ AC_MSG_WARN(Libzip >= 1.0.0 needed for setting mtime) ], [ $LIBZIP_LIBS ]) PHP_CHECK_LIBRARY(zip, zip_file_set_encryption, [ AC_DEFINE(HAVE_ENCRYPTION, 1, [Libzip >= 1.2.0 with encryption support]) ], [ AC_MSG_WARN(Libzip >= 1.2.0 needed for encryption support) ], [ $LIBZIP_LIBS ]) PHP_CHECK_LIBRARY(zip, zip_libzip_version, [ AC_DEFINE(HAVE_LIBZIP_VERSION, 1, [Libzip >= 1.3.1 with zip_libzip_version function]) ], [ ], [ $LIBZIP_LIBS ]) PHP_CHECK_LIBRARY(zip, zip_register_progress_callback_with_state, [ AC_DEFINE(HAVE_PROGRESS_CALLBACK, 1, [Libzip >= 1.3.0 with zip_register_progress_callback_with_state function]) ], [ ], [ $LIBZIP_LIBS ]) PHP_CHECK_LIBRARY(zip, zip_register_cancel_callback_with_state, [ AC_DEFINE(HAVE_CANCEL_CALLBACK, 1, [Libzip >= 1.6.0 with zip_register_cancel_callback_with_state function]) ], [ ], [ $LIBZIP_LIBS ]) PHP_CHECK_LIBRARY(zip, zip_compression_method_supported, [ AC_DEFINE(HAVE_METHOD_SUPPORTED, 1, [Libzip >= 1.7.0 with zip_*_method_supported functions]) ], [ ], [ $LIBZIP_LIBS ]) AC_DEFINE(HAVE_ZIP,1,[ ]) PHP_ZIP_SOURCES="php_zip.c zip_stream.c" PHP_NEW_EXTENSION(zip, $PHP_ZIP_SOURCES, $ext_shared) PHP_SUBST(ZIP_SHARED_LIBADD) dnl so we always include the known-good working hack. PHP_ADD_MAKEFILE_FRAGMENT fi