5

I'm installing D7 on Ubuntu 12.04. I've been following the procedure explained in this page. And this is the error I'm getting:

enter image description here

I've already made MySQL database called 'drupaldb'.

I've also checked PHP and it's installed and it's running. I'm configuring NGINX to run D7 on it.

Please help!

1
  • certainly Your problem related to your server cofiguration
    – Yuseferi
    Sep 18, 2012 at 12:05

3 Answers 3

9

To install gd library in ubuntu:

$ sudo apt-get install php5-gd

Above command will install PHP gd library in Ubuntu.

Refer this question from Server Fault to install mysql-pdo driver in ubuntu

2
  • This should be the correct answer. Sep 18, 2012 at 12:33
  • Whoa! Thanks that worked. After hours of scouring the web and this is the answer! shakes head Sep 18, 2012 at 12:49
6

you can install LAMP server in just one command

sudo apt-get install lamp-server^

don't forget ^ after lamp-server. This will install the missing extensions and database support (LAMP was specially designed for PHP applications running on Apache server with MySQL database). After that you can place your drupal folder in /var/www/, and it should install smoothly after that.

5

You need to enable GD extension and PDO extension for PHP.

It might mean you need rebuild your PHP install, contact your server admin who should be able to enable those extensions easily

Not the answer you're looking for? Browse other questions tagged or ask your own question.