LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   debian imagick prepends webroot (https://www.linuxquestions.org/questions/linux-server-73/debian-imagick-prepends-webroot-884029/)

secretlydead 06-01-2011 06:44 PM

debian imagick prepends webroot
 
On this page:
http://www.clickaboutme.com/sigbox/sigbox.php

I'm using imagick to make a graphic, which works on my development mandriva server. On the debian server, this command:
$M08 = new Imagick($logoURL);
where the URL is:
$logoURL = http://shoreline.eng.ohio-state.edu/.../NASA_Logo.gif

an error is thrown because the server prepends the document root to the url:
unable to open image `/home/dan/public_html/clickaboutme.com/public/sigbox/http:/shoreline.eng.ohio-state.edu/research/exomars2009/exomars2009_files/NASA_Logo.gif'

the imagick on debian is php5-imagick, while on the test server, it's php-imagick

any ideas on how to fix this?


All times are GMT -5. The time now is 08:15 PM.