I am able to migrate locally without any problems. But on my server when I try to migrate into AWS Remotely (It has permission) I get:
[email protected]:/var/www/site.com/htdocs# phalcon migration run PHP Warning: Module 'PDO' already loaded in Unknown on line 0
Phalcon DevTools (1.3.1)
Error: SQLSTATE[42000] [1049] Unknown database 'sitedb'
My PHP5 Mods Available in **/etc/php5/conf.d/*** are:
- 20-curl.ini
- 20-pdo.ini
- 20-phalcon.ini
- 20-mysqli.ini
- 20-pdo_mysql.ini
- 20-sqlite3.ini
- 20-mysql.ini
- 20-pdo_sqlite.ini
I am running Debian Wheezy, I checked for PDO in the /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini and got nothing it seems: [email protected]:/etc/php5/apache2# grep ^extension php.ini [email protected]:/etc/php5/apache2# grep -i pdo php.ini
[Pdo] ; https://php.net/pdo-odbc.connection-pooling ;pdo_odbc.connection_pooling=strict ;pdo_odbc.db2_instance_name [Pdo_mysql] ; https://php.net/pdo_mysql.cache_size pdo_mysql.cache_size = 2000 ; https://php.net/pdo_mysql.default-socket pdo_mysql.default_socket= [email protected]:/etc/php5/apache2#
Does anyone know what is wrong here?