php unable to create folders
Posted: Mon Mar 22, 2010 6:05 am
hi,
I'm using Drupal and it seems that it cannot create the "files" folder.
I tried to upload a php script with mkdir("files",774) but I get a permissions error, so basically any php script on the server is not able to create a folder on the server... I guess this is the problem.
What do you suggest ? If I create the folder manually from ftp client and I assign 777 permission everything works perfectly, but it is not safe solution.
thanks
I'm using Drupal and it seems that it cannot create the "files" folder.
I tried to upload a php script with mkdir("files",774) but I get a permissions error, so basically any php script on the server is not able to create a folder on the server... I guess this is the problem.
What do you suggest ? If I create the folder manually from ftp client and I assign 777 permission everything works perfectly, but it is not safe solution.
thanks