Product: PDFNetC64
Product Version: 9.3.0
PHP 8.1
Please give a brief summary of your issue:
Class “PDFNet” not found
Please describe your issue and provide steps to reproduce it:
I’m trying to integrate PDFNet with Laravel framework but got the above error, I’ve created a repo with Docker, you can see how I install PDFNet on these files
- docker/8.1/install-pdfnet.sh
- docker/8.1/Dockerfile
- docker/8.1/php.ini
The extension has been installed and loaded successfully
$ php -m | grep PDF
PDFNetPHP
My code is in routes/web.php
The sample code repo is in /home/sail/PDFNetWrappers/Samples/AddImageTest/PHP
, after I run ./RunTest.sh
I got this error
PHP Fatal error: Uncaught Error: Class "PDFNet" not found in /home/sail/PDFNetWrappers/Samples/AddImageTest/PHP/AddImageTest.php:18
Stack trace:
#0 {main}
thrown in /home/sail/PDFNetWrappers/Samples/AddImageTest/PHP/AddImageTest.php on line 18
Please provide a link to a minimal sample where the issue is reproducible: