[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-general
Subject:    Re: [PEAR] About Image_Graph error
From:       Kae Verens <kae () verens ! com>
Date:       2009-01-26 0:55:21
Message-ID: 497D09F9.8090101 () verens ! com
[Download RAW message or body]

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

-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic