Windows to Linux -- Getting errors still...
| From: | Ryan Schefke | Date: | Sun, 30 May 2004 22:59:54 +0000 |
| Subject: | Windows to Linux -- Getting errors still... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187254@lists.php.net to get a copy of this message | ||
Hello,
I successfully tested the GD library and several scripts with PHP locally on
my windows machine. I went to test the same php-files on my internet server
(Linux).
But on the server I get the following error:
Warning: imagejpeg: unable to open 'temp.jpg' for writing in
/home/httpd/vhosts/tgwedding.com/httpdocs/tgwedding/photos.php on line 29
I already changed the file permissions but it didn't still work.
Does anybody know how to solve the problem?
This is line 29:
imagejpeg($base_image, 'temp.jpg'); //convert and save it to temp.jpg
Thanks,
Ryan