System configuration:
Windows 7 x64 apache_2.4.10_x64
Php-5.5.19-win32-vc11-x64
Install Apache and PHP under the server under C disk The following folder name is:
apache_2.4.10_x64 corresponding directory: C:\server\Apache_2.4.10_x64
php-5.5.19-win32-vc11-x64 corresponding directory: C:\server\php_5.5.19_VC11_x64
Problem:
Extension=php_zip.dll not found in C:\server\php_5.5.19_VC11_x64\php.ini file
Php_zip.dll not found in C:\server\php_5.5.19_VC11_x64\ext folder
This means that I can't invoke some zip-related functions.
Find a solution:
To http://php.net/manual/en/book.zip.php query related solutions:
As shown in the following illustration:
Find the following corresponding content:
us to
http://windows.php.net/downloads/pecl/releases/
Find the corresponding zip extension and download
Look in the page for a zip and open
I choose the latest version: 1.12.4 and open
Download zip and unzip with red box
Copy the Php_zip.dll from the extracted file into the C:\server\php_5.5.19_VC11_x64\ext
Open the php.ini file in C:\server\php_5.5.19_VC11_x64\ to add Extension=php_zip.dll save and restart the Apache server.
This makes it possible to call the ZIP function.