"An error has occurred while getting PHP include directories" when trying to run "cmake -D BUILD_PDFNetPHP=ON .." or SWIG cannot find "zend.h"

Ensure you have php-dev (php with developer extensions) installed, the regular PHP environment does not include these libraries.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales