Hello,

I am having trouble installing Drupal. I ran the following code 

composer create-project drupal/recommended-project drupal 
cd drupal && php -d memory_limit=256M web/core/scripts/drupal quick-start demo_umami

and received the following error

 [ERROR] You must have the pdo_sqlite PHP extension installed. See core/INSTALL.sqlite.txt for instructions.        

 Since I am running Ubuntu 20.04, I ran the following code

sudo apt-get install php-sqlite3

However, I still receive the same error. So, I'm not sure what is going on with the installation process. Any help would be much appreciated!

Comments

mahendra.paudel’s picture

Steps to fixed the error.

1. Check the version of php.

using command: php-v

2. If the version of PHP is suppose 8.1 

run command: sudo apt-get install php8.1-sqlite3

Then above error will not be received.