www.webdeveloper.com
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18

Thread: [RESOLVED] shell_exec and pdftotext does not work?

  1. #16
    Join Date
    Jan 2009
    Posts
    3,346
    Quote Originally Posted by said_fox View Post
    How could I determine this and how could I fix it?
    First I would check that the user has appropriate permissions to run scripts in that location. You can use Eval's code above to find out the account you need to check access against.

  2. #17
    Join Date
    Jan 2003
    Location
    Egypt
    Posts
    185
    Quote Originally Posted by criterion9 View Post
    First I would check that the user has appropriate permissions to run scripts in that location. You can use Eval's code above to find out the account you need to check access against.
    whoami returned www-data. The path or the folder that holds the script and files has all permissions opened, i.e read, write and execute for owner, group and others.
    Regards();
    return Said Bakr
    My Blog - Quran

  3. #18
    Join Date
    Jan 2003
    Location
    Egypt
    Posts
    185
    Quote Originally Posted by said_fox View Post
    Thank you for your valuable hint.
    Now I able to see the error:
    PHP Code:
    /usr/bin/pdftotext: /opt/lampp/lib/libjpeg.so.62no version information available (required by /usr/lib/libpoppler.so.13)
     /
    usr/bin/pdftotext: /opt/lampp/lib/libgcc_s.so.1version `GCC_4.2.0' not found (required by /usr/lib/i386-linux-gnu/libstdc++.so.6) 
    I think it's something related to XAMPP for linux, If you know how to solve it, I will be appreciated.
    Finally, I found the solution, I just searched for the two files (libjpeg.so.62 and libgcc_s.so.1) in /usr and then I copied each file to /opt/lampp/lib, of course replace is occurred.
    Regards();
    return Said Bakr
    My Blog - Quran

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles