Picture uploading problems.

Questions about how to install and problems installing - please read the documentation first!
Post Reply
peja
Posts: 1
Joined: Wed Feb 04, 2009 11:06 pm

Picture uploading problems.

Post by peja » Mon Jun 21, 2010 11:25 pm

Hello,

I have Debian (Lenny) server with Apache2 and PHP5 (suphp).
(I got also other server with no suphp and it's work fine there)
Since security is number one at my server I want use suphp at my new server (not wanted run php's at www-data user)


I have problems with uploading pictures at server.
Well uploading is not problem.... but uploaded file rights are wrong.
It's unreadable via website not show at editor.

-rw------- 1 peja users 32456 Jun 22 02:13 testpic.jpg


Since I am not good at all PHP.
I am tryed and tired edit cms.php etc and failed I think.

Someone sayed add variable CHMOD to config.php
Well how I make chmod variable at config.php? I need it to chmod uploaded files to 644 I think
Please someone help me this.

Many thanks,
peja

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: Picture uploading problems.

Post by bastingse » Sun Jun 27, 2010 1:34 pm

can't find a solution on www.php.net or a link on that website??

Post Reply