Welcome to WebmasterWorld Guest from 54.161.110.186

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Question on folder user and group settings with Apache

PHP script won't work

     
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!

11:04 pm on Dec 2, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried setting it to 777?
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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month