Page 1 of 1

In Unix onlyt functioning in / directory, not subdirectories

Posted: 2008-12-03T13:25:28-07:00
by jaxdevil
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??

Re: In Unix onlyt functioning in / directory, not subdirectories

Posted: 2008-12-03T22:27:09-07:00
by anthony
Not without a lot more information. How are you running Im, command line, from PHP, from CGI scripts?

Re: In Unix onlyt functioning in / directory, not subdirectories

Posted: 2008-12-04T10:25:41-07:00
by jaxdevil
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