• Welcome to XF2 Addons

    You can purchase a Premium membership for only $35 per year, and this gives you access to download any or ALL of the over 400 add-ons developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.

Installing the mPDF library

Andy

Administrator
Staff member
The Print manager v1.0 add-on requires the mPDF library to be installed on your server.

These instructions have been tested on a web host which has cPanel.

Follow these steps:
  1. Create a directory called misc in your public_html directory.
  2. Log into your server using SSH. Important, do not log into SSH as root, log in as cPanel user.
  3. Navigate to the misc directory.
  4. Enter the following command composer require mpdf/mpdf
  5. Composer will install the mPDF library.
A new directory called vendor contains the files needed to use mPDF.

Example of the vendor directory.

1648175751528.jpg
 

Andy

Administrator
Staff member
If you don't have cPanel, you can manually upload the mPDF files into the misc directory. There are two attachments, one for use on servers with PHP74 and another for PHP80 or above.
 

Attachments

  • vendor_php74.zip
    44.7 MB · Views: 54
  • vendor_php80.zip
    44.8 MB · Views: 50
Top