In Unix onlyt functioning in / directory, not subdirectories
In Unix onlyt functioning in / directory, not subdirectories
I have ImageMagick installed on my server. For the life of me I cannot understand what is happening with this error. I have a domain on my server, and when I am in the / directory (public_html) the code works perfect, it converts the image to a pdf file while simultaneously changing the resolution to 600dpi (for printing purposes) but when I move the file and the single page script to a directory within the root ( say /files for example) it gives me the error "Internal Server Error" ?? I don't get why it would work in the main directory and not in the sub directory. It is not installed on the domain itself, it is installed on the server, so even the fact that it is the root of that domain, it is already in a sub directory ( i.e. /home/username/public_html ) Anyone know what is causing this??
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: In Unix onlyt functioning in / directory, not subdirectories
Not without a lot more information. How are you running Im, command line, from PHP, from CGI scripts?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: In Unix onlyt functioning in / directory, not subdirectories
Thanks for replying.
I figured it out though. It was an issue with my server, I did not know what to CHMOD the directory the script was running in and I was using 777, which my server security settings restricted what happened within it since it figured the settings were 'too' permissive. I cleared the setting on the server and the problem is gone now.
Thanks,
SK
I figured it out though. It was an issue with my server, I did not know what to CHMOD the directory the script was running in and I was using 777, which my server security settings restricted what happened within it since it figured the settings were 'too' permissive. I cleared the setting on the server and the problem is gone now.
Thanks,
SK