homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Question on folder user and group settings with Apache
PHP script won't work

Msg#: 1018 posted 2:49 pm on Nov 30, 2002 (gmt 0)

I'm running a PHP image library script that generates folders (for image categories) on the server with a user and group of 'apache' instead of my username for both as with the other folders.

I can't FTP to this folder and the script won't scan folders I upload i.e. it only wants to work with its script generated files. It's not a problem with the permissions as they are both set to 755.

I'm not a PHP or mySQL guru so any suggestions with the above would be appreciated. Any pointers to good commercial PHP image scripts appreciated too!



WebmasterWorld Senior Member 10+ Year Member

Msg#: 1018 posted 11:04 pm on Dec 2, 2002 (gmt 0)

Have you tried setting it to 777?


Msg#: 1018 posted 2:33 am on Dec 3, 2002 (gmt 0)

thanks sun818 for the tip, didn't end up trying that as I deleted the script and went with another ;). It works like a charm!

Folders for image thumbnail writing etc. are still set to 755 and all work ok, user and group set to apache by the script I think. I definitely need a crash course in server permissions etc., especially how not to leave my server open to attack.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved