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.
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.
Thank you for your valuable hint.
Now I able to see the error:
PHP Code:
/usr/bin/pdftotext: /opt/lampp/lib/libjpeg.so.62: no version information available (required by /usr/lib/libpoppler.so.13)
/usr/bin/pdftotext: /opt/lampp/lib/libgcc_s.so.1: version `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.
Bookmarks