You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Rajiv Maity (JIRA)" <ji...@apache.org> on 2013/06/20 13:06:20 UTC

[jira] [Created] (PDFBOX-1647) Not able to parse PDF files using PHP and Linux

Rajiv Maity created PDFBOX-1647:
-----------------------------------

             Summary: Not able to parse PDF files using PHP and Linux
                 Key: PDFBOX-1647
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1647
             Project: PDFBox
          Issue Type: Bug
          Components: Text extraction
    Affects Versions: 1.8.2
         Environment: PHP and Linux Platform
            Reporter: Rajiv Maity


Hi, I am trying to extract texts using pdfbox-app1.0.8.jar, I am able to extract it in windows xp pc but when I am trying to execute the same program in Go Daddy Linux server, the program is not working i.e not extracting the texts from the pdf. Below is the program, that I am using to extract texts from pdf files.

        require_once 'pdf_lib/pdf_box/PDFBox/ExtractText.php';

	$jar = "pdf_lib/pdf_box/lib/pdfbox-app-1.8.2.jar";
	$pdf_box = new PDFBox\PDFBox($jar);
	$extract_text = new PDFBox\ExtractText($pdf_box);

	$extract_text->parse($pdfLocation);



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira