dcole.ath.cx Posted May 21, 2006 Report Share Posted May 21, 2006 I have thing script that I was using on IIS, then I moved to Apache and it doesn't work. I don't think I have permission, how do I asign permission with PHP or change Apache to allow me to create files though a File Manager (php script) Link to comment Share on other sites More sharing options...
justsomeguy Posted May 21, 2006 Report Share Posted May 21, 2006 You need to log on to the server and make sure that the directories you are trying to work with are set up to allow the account that Apache is running under to have write access. Link to comment Share on other sites More sharing options...
SFB Posted May 21, 2006 Report Share Posted May 21, 2006 hey dan, how are you trying to create this file? i would just open it even though it isnt ther and then write a message like mitch does. I am using the same type of server and i dont have all the problems you do. mabye it is because i have my server installed as a service on windows and you are using fedora core 5 but that shouldnt make much difference. Link to comment Share on other sites More sharing options...
dcole.ath.cx Posted May 21, 2006 Author Report Share Posted May 21, 2006 SFB, I'm using a OS as you are using a fake thing... When files are made, they are made as Nobody and they need to be apache.I guess I could add text..The folder was owner and group Apache so it should have worked Link to comment Share on other sites More sharing options...
justsomeguy Posted May 21, 2006 Report Share Posted May 21, 2006 The file takes the same owner of whatever owns the PHP process, so make sure that process is running under the same account as apache. Link to comment Share on other sites More sharing options...
dcole.ath.cx Posted May 22, 2006 Author Report Share Posted May 22, 2006 Do not Workcreate filerenamedup.deletecreate folder (did work... umm)Do Workuploadedit Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now