PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   External Binaries (http://www.phpdig.net/forum/forumdisplay.php?f=36)
-   -   pdftotext no solution (http://www.phpdig.net/forum/showthread.php?t=1946)

Art 04-01-2005 05:05 AM

pdftotext no solution
 
Hi,
I'm frustrated...
Ok, I have pdftotext installed in /usr/local/sbin and it is executable 755
safe_mode is OFF etc.etc. everything as discribed in the checklist.
But:
Is result test http an array: 1
What is result test http status: PDF

Is result test an array: 1
What is result test status: PDF
Use is executable is set to: 1
Index the pdf is set to: 1
Parse the pdf is set to: /usr/local/sbin/pdftotext
Does parse pdf exist:
Is parse pdf executable:
1:http://www.wohlfahrtswerk.org/downlo...enburgheim.pdf
(Zeit : 00:00:05)
Kein Link in der temporäreren Tabelle

There are no 'special' characters in the path to pdftotext.

What's wrong here?

Please Help.

Charter 04-06-2005 01:55 PM

As "Does parse pdf exist" and "Is parse pdf executable" both return no value (meaning "no") it looks like "/usr/local/sbin/pdftotext" may be the wrong path.

Art 04-06-2005 10:58 PM

Nop, the path is right.
I now found out, that if I run spider.php from the command line, it works. But not in the admin web interface.

Charter 04-07-2005 12:35 PM

Are all the directories up to and including the directory holding pdftotext set to 755 permissions?

Art 04-07-2005 11:12 PM

Yes.
All files in /usr/local/sbin belong to apache and are set to 755

Charter 04-08-2005 05:04 AM

As you can run pdftotext from shell, it seems like the "apache" group/owner does not allow for a www user, in this case PhpDig, to access the binary. Either set group/owner so that www can run /usr/local/sbin/pdftotext or move pdftotext to a web accessible location and then set PHPDIG_PARSE_PDF to the new full path.

Art 04-08-2005 06:04 AM

Ok, thanx - I'll give it a try

Cyberal82 04-11-2005 04:39 AM

it's just for look the answer of charter


All times are GMT -8. The time now is 10:10 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.