Re: About Image_Graph error
| From: | Kae Verens | Date: | Mon, 26 Jan 2009 00:55:21 +0000 |
| Subject: | Re: About Image_Graph error | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29647@lists.php.net to get a copy of this message | ||
Ji Park wrote:
Hello I am currently trying to generate a graph to display on a webpage by using PHP and PEAR (image_graph). I ran in to a proble saying that I have no permission on saving the output png file to the directory, I was wondering if anyone can shine some light on it.
Unable to open './output.png' for writing: Permission denied in *does the server have write-permission for the directory? usually, a directory that you created yourself with FTP (for example), is not writable by the PHP server by default. you need to change the permissions of the directory to allow the server to write to it. The easiest way to do this is to set the directory's permissions as 777 (read/write/execute for everyone). kae