pdf support in xampp windows 1.7.1
Posted: 04. June 2009 07:17
Has anyone been able to get php to generate a pdf page using xampp windows 1.7.1?
php_info reports pdf support as PDFlib GmbH Version 5.03, PECL Version 2.1.6-dev
However when running a php script that SHOULD generate a pdf document, browsers return an error - IE stating it cannot display the page, FF tries to redirect to www.localhost.com and cannot find the page.
This happens even for the simple pdf examples given on php.net in the pdf reference.
Swapping php_pdflib.dll (presumably pdflib-lite) with the full commercial version - libpdf_php.dll (PDFlib GmbH Binary-Version 7.0.4p2) - results in pdf pages being generated but with the www.pdflib.com watermark across the page (since I have not bought a commercial licence). So I know the scripts are good.
Is this a bad install? Is the supplied php_pdflib.dll corrupt in some way?
Running on Windows XP Pro SP3
php_info reports pdf support as PDFlib GmbH Version 5.03, PECL Version 2.1.6-dev
However when running a php script that SHOULD generate a pdf document, browsers return an error - IE stating it cannot display the page, FF tries to redirect to www.localhost.com and cannot find the page.
This happens even for the simple pdf examples given on php.net in the pdf reference.
Swapping php_pdflib.dll (presumably pdflib-lite) with the full commercial version - libpdf_php.dll (PDFlib GmbH Binary-Version 7.0.4p2) - results in pdf pages being generated but with the www.pdflib.com watermark across the page (since I have not bought a commercial licence). So I know the scripts are good.
Is this a bad install? Is the supplied php_pdflib.dll corrupt in some way?
Running on Windows XP Pro SP3