Roundcube installation script issue

Hi! I’m unable to install roundcube using virtualmin script. The installation output is

Downloading http://prdownloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.8.2.tar.gz ..
Downloading http://downloads.sourceforge.net/project/roundcubemail/roundcubemail/0.8.2/roundcubemail-0.8.2.tar.gz ..
Downloading http://freefr.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.8.2/roundcubemail-0.8.2.tar.gz (3.55 MB) ..
     Received 1024 bytes (0 %)
     Received 364 kB (10 %)
     Received 728 kB (20 %)
     Received 1.07 MB (30 %)
     Received 1.42 MB (40 %)
     Received 1.78 MB (50 %)
     Received 2.13 MB (60 %)
     Received 2.49 MB (70 %)
     Received 2.84 MB (80 %)
     Received 3.20 MB (90 %)
     Received 3.55 MB (100 %)
.. download complete.

PHP module mysql is required ..

Module is not available even after installation!

Installed OS is Debian 6. The php5-mysql package is installed. Any idea to solve this?

Even if I remove the php5-mysql pacakge, the output is the following

PHP module mysql is required ..

    Installing package php5-mysql ..
    Installing package(s) with command apt-get -y --force-yes -f install php5-mysql ..

    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
      php5-mysql
    0 upgraded, 1 newly installed, 0 to remove and 242 not upgraded.
    Need to get 0 B/80.8 kB of archives.
    After this operation, 276 kB of additional disk space will be used.
    Selecting previously deselected package php5-mysql.
    (Reading database ... 56921 files and directories currently installed.)
    Unpacking php5-mysql (from .../php5-mysql_5.4.4-7_amd64.deb) ...
    Processing triggers for libapache2-mod-php5 ...
    Reloading web server config: apache2[Fri Oct 12 12:31:03 2012] [warn] module php5_module is already loaded, skipping
    [Fri Oct 12 12:31:03 2012] [warn] NameVirtualHost zzz:80 has no VirtualHosts
    .
    Setting up php5-mysql (5.4.4-7) ...
    Processing triggers for libapache2-mod-php5 ...
    Reloading web server config: apache2[Fri Oct 12 12:31:04 2012] [warn] module php5_module is already loaded, skipping
    [Fri Oct 12 12:31:04 2012] [warn] NameVirtualHost zzzz:80 has no VirtualHosts
    .

    .. install complete.

    .. done

Module is not available even after installation!

Hmm… what output do you receive if you run this command:

php -m

~# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pgsql
Phar
posix
pspell
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib