Home  >  Article  >  Backend Development  >  How to install pdflib in php

How to install pdflib in php

藏色散人
藏色散人Original
2020-08-05 09:51:352924browse

How to install pdflib in php: first download pdflib and determine the php version; then add the content "extension=php_pdflib.dll" in "php.ini"; finally restart the web server.

How to install pdflib in php

Recommended: "PHP Video Tutorial"

##Steps to install pdflib under php5.5


1. Download pdflib

The download address is: http://www.pdflib. com/download/pdflib-family/pdflib/

Then select the corresponding version, as shown in the picture. I chose the Windows 64-bit PHP version.
 
How to install pdflib in php

2. Determine the php version

As shown in the picture:


How to install pdflib in php

The php version I installed is

5.5 .38, the compiler is msvc11. Unzip the downloaded How to install pdflib in php and select the following directory:
php_pdflib.dll in XXX\PDFlib-9.1.0-MSWin32-php\bind\php\php-550-nozts_VS11\ .

3. Copy the extension module file to the extension package path specified by php.ini

  • View the extension package path specified by

    php.ini As follows:
    How to install pdflib in phpOpen the
    php.ini file and find the line shown in the picture above. The circle in the picture is the expansion package path (on my machine it is d: \XAMPP\php\ext).

  • Copy the extension file

    php_pdflib.dll to the above path.

4. Add related information under php.ini

Add the following lines in php.ini and save:


extension=php_pdflib. dll

5. Restart Web Server

Restart

web server.

The above is the detailed content of How to install pdflib in php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn