Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’m pretty sure best practice would set the last command to be
chmod 640 /var/www/html/sites/default/settings.php
Only the server (www-data) should be able to read the sensitive information in settings.php.
I generally use chmod 640 for the entire site, and then make only the files subdirectory readable by all and writeable by www-data.
For advanced web masters, drush is the drupal shell package that substantially improves deployment and management of drupal sites. Bit of a learning curve, however.
Can you make a tutorial for installing Drupal with Nginx on a Centos server?
I used this article on How to Install Drupal 7 on CentOS 7 with Nginx but they are using MariaDB and I want MySQL for my Centos server.
Thanks in advance.
@jellingwood Thanks for the suggestion. I will try that.
P.S. I appreciate your fast response to my question. But i couldn’t reply to your comment, so i had to post a new one. :) Have a great day.
I followed all your steps exactly. Everything appeared to install okay. When I tried to install a module Drupal gives me a blank screen and the module is never installed. I suspect it’s something to do with permissions, or my VPS settings in apache, or my .htaccess not being properly used.
Can you offer any help why i can’t install modules from the website?
This page could do with updating - mentions Drupal 7.31 but 7.32 is the latest due to a highly critical security issue so always ensure you use the latest version, check on drupal.org first to be sure!
I added a new troubleshooting section in the article for some common causes of the “Fatal error: Call to undefined function field_attach_load()” error.
Adding to the Install PHP Module and Tweak Configuration section, I had to install the php5-pdo_mysql module for my Drupal 7 site. In my case, I was not installing a new site, but was cloning the code of an existing Drupal 7.31 site. I was getting a white screen on the home page until I downloaded php5-pdo_mysql.
I am having a lot of trouble with this install.
I followed all the instructions exactly and then once I get to the database part of the install script, I enter the information and then I get the same screen again once I submit the form.
If I try to submit the form again, I just get a white screen.
The database gets about half populated, but won’t install all the way.
Anyone have any idea why this is happening?