Having problems installing Drupal? See the Installation Guide for more information.

PDO Database Disabled - Fixed

I tried to install PHPMYADMIN to see if I could enable the database support easier and it really messed things up so the page didnt even pull up anymore so I removed it.  After a reboot I got to the drupal install page and had no errors and am now completing the setup.

Please Close

Hello,

Been about a decade since I installed a Drupal site and I cant seem to get past the one error about database support being disabled.  My site has the following packages installed:

Ubuntu 22.04 (Zorin 16)

php8.2

Multisite not working on Drupal 10

I read all the documentation and spent a lot of time getting this to work.  I tried to troubleshoot and I can see what is going on but don't know what the root of the problem is.  Once I know the root problem, it's probably easy to fix.

This is a dev environment on my local machine serving 3 fictitious sites so I modified my hosts file like this:

127.0.0.1 site1.com

127.0.0.1 site2.com

127.0.0.1 site3.com

I have my folders setup this way

[fixed] Drupal site isn't working, CSS isn't loading and admin does not exist.

Prior to explaining the problem I will note that Drupal is installed on Ubuntu via WSL. I can load the localhost/drupal, when I load the page I just get a plane text page without stylesheet.

I use the LAMP stack.

I tried to look for the requested CSS myself but /sites/default/css doesn't exist. Also does localhost/drupal/admin this gives me a 404 page.

Running Drupal from Apache Server

Hello, i want to serve Drupal after installing httpd on my os. But after setting the document root and adding my drupal folder to the documentRoot location I am getting an error when i serve the app.  I am getting "Service Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later." 

Any suggestions? Apache seems like a black box... with a lot of configurations. Any insight would be helpful.

Thanks

install to "public_html" instead of "web" as webroot

Hi.

Below is my situation:

Drupal10 + apache

Dev site: local PC + Lando  in which Drupal is installed as myprojectfolder/web/ and myprojectfolder/vendor/

Production site: Allowed structure for websites is mydomainfolder/public_html/ and mydomainfolder/vendor/

So, how to install Drupal to this production site? And after that, how to rsync my dev site and production site?

The issue I had so far is something like below that having 500 error and couldn't open website due to the mismatch of the public folder's name; web and public_html:

White screen showing instead of the Drupal site

On Ubuntu 20.04, I installed Drupal 10 and am setting it up.  However, after some tinkering, I ended up with a white screen whenever I open html://localhost/drupal.  html://localhost shows the Apache welcome page, so I clearly botched something related to Drupal.  I've only been working on it a few days and haven't done much at all.  The latest things I did were:

1. deleting duplicate composer.json and vendor/ in the drupal/ directory and changing /var/www/html/ ownership to "myusername" instead of "www-data", so I can run composer w/o sudo.  Here are the latest commands I ran:

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal