Install PDFlib on XAMPP OS X 10.13.5

2019-07-25 14:25发布

问题:

I need to install PDFlib required for one module build for a magento website. What I did so far is:

  1. go to https://www.pdflib.com/download/pdflib-product-family/ and download the latest version for OS X.
  2. print out a phpinfo to find out my extension_dir path /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226
  3. copy the the php_pdflib.so in the extension_dir folder
  4. open /Applications/XAMPP/xampfiles/etc/php.ini and put the following extension=php_pdflib.so
  5. restart apache
  6. check in the phpinfo - nothing there
  7. run php -m and php -i from terminal and PDFlib is listed

I even try installing with the brew command

What I've done wrong?