PHPRarArchiving module (php_rar) is a module for reading and decompressing rarfiles, but it does not provide RAR compression (packaging. 1. first download the DLL on the RAR page of PECL. download the corresponding DLL version as needed. PHP version requirements: The php_rar module is applicable to php5.2 and later versions, but for windows systems, only php5
PHPRar Archiving module (php_rar) is a module for reading and decompressing rarfiles, but it does not provide RAR compression (packaging. 1. first download the DLL on the RAR page of PECL. download the corresponding DLL version as needed. PHP version requirements: The php_rar module is applicable to php 5.2 and later versions, but for windows systems, only php5
PHP Rar Archiving module (php_rar) is a module for reading and decompressing rarfiles, but it does not provide RAR compression (packaging.
1. First download the DLL on the RAR page of PECL. Select the corresponding version as needed.
PHP version requirements: The php_rar module is applicable to php 5.2 and later versions. However, for windows systems, it seems that only the DLL corresponding to php5.3/5.4 is downloaded.
2. Download a zip package and decompress the php_rar.pdb and php_rar.dll files to the ext subdirectory under the PHP installation directory.
3. Add a line of php_rar extension reference declaration in php. ini: extension = php_rar.dll
4. If the Apache server is used, restart Apache. PHP loaded in FastCGI mode in IIS does not need further operations.
5. Write a test file to see if there are any problems.
6. If any problem occurs, view the server log file.
With test code test-rar.php: