Can't change settings.php file due to permission

Asked by:
Enhoep / 5 Points
2014-01-24 4:01 pm EST
File Management
It says "permission denied" after I change it, and won't let me upload a new one with Dreaweaver or upload one directly. I already changed the permission to "0777" to no avail. Help. Thanks!

To ask this user for more information, please first login.

To submit an answer, please login.



2,342 Points
2014-01-24 4:07 pm EST
It sounds like Dreamweaver may not be correctly connecting to the server using your cPanel username and password. Check to ensure that your cPanel username and password are correct when connecting over FTP. You may also change any file permissions, as well as upload any files by using the cPanel File Manager.

To submit a comment on this answer, please first login.


3,713 Points
2014-01-24 4:13 pm EST
Hello Enhoep, and thanks for your question.

Sorry to hear you're having issues modifying your settings.php file. If you take a look at our changing file permissions guide, you can see that .php files should actually have the permissions of 644 for Read, Write | Read Only | Read Only.

This is because we run suPHP on our servers for better PHP security.

Please let us know if you continue to have issues after changing the permission to 644.

- Jacob

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.