Hello,

I want to ask, is a Drupal installation dependent on the Windows drive letter? I installed Drupal on C: and I wonder if I can move the installation folder to another partition, and still run Drupal.

Any ideas?

Regards,

sintj

Comments

chike’s picture

Sure you can.

Drupal only recognizes the Project Root (where you would have the vendor folder) and the Document Root (where you would have core and the scaffold files) and doesn't care if these lie in C: or D: or E: drive. Doesn't even care if you are using Windows OS or Linux OS.

sintj’s picture

Hello chike,

I see. Thank you for the answer.

Regards,

sintj

mmjvb’s picture

The web server is configured to serve a site from a specific folder. Depending on your setup, it points to your project (drupal installation) or the web folder in that project folder. The parent of the web folder is expected to be your project folder. Only with tricks by the file system ( symbolic links or mounts ) they can be in different file systems (drives)

Moving the project is normally not a problem as long as you adjust DocumentRoot of your site definition (VirtualHost).

sintj’s picture

Hello mmjvb,

Thank you for the answer.

Regars,

sintj