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:
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.
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
you can install LAMP server in just one command
sudo apt-get install lamp-server^
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.
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