The wordpress installer uses setup-config.php to create and change the wp-config.php file.
After making all the changes it chmods the file to
However since it is running as apache this means that I as a user can not download, view, edit or chmod my wp-config.
SITE CHMOD 777 /path/wp-config.php
Response: 550 /path/wp-config.php: Operation not permitted
My server adminstrators do not bend over backwards (to say the least) to help so I need to work out a way to write a php script to chmod or chown the file to something that I can access.
If I just write a php file with
and other one to put it back will that work?
I think that perhaps chmod is a wordpress php function maybe…
- The topic ‘installer (setup-config.php) chmod to 0604 so I can’t change wp-config’ is closed to new replies.