Hi.
I'm trying to install UNA-v.9.0.0-RC6 in ubuntu server 18.04.
MYSQL 5.7.22
PHP 7.2.3
Mysql error:
could not find driver
collation_connection:
Debug backtrace:
Array ( [0] => Array ( [file] => /var/www/html/inc/classes/BxDolDb.php [line] => 147 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=localhost;port=3306;dbname=unadb;charset=utf8mb4 [1] => unaboonexdbuser [2] => TxSWKow7SGGZ [3] => Array ( [3] => 2 [19] => 2 [12] => 1 ) ) ) [1] => Array ( [file] => /var/www/html/inc/classes/BxDolDb.php [line] => 111 [function] => connect [class] => BxDolDb [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /var/www/html/install/classes/BxDolInstallSiteConfig.php [line] => 326 [function] => getInstance [class] => BxDolDb [type] => :: [args] => Array ( [0] => Array ( [error_checking] => [host] => localhost [port] => 3306 [sock] => [name] => unadb [user] => unadbuser [pwd] => adbpassword ) [1] => ) ) [3] => Array ( [file] => /var/www/html/install/classes/BxDolInstallSiteConfig.php [line] => 296 [function] => processConfigDataDb [class] => BxDolInstallSiteConfig [type] => -> [args] => Array ( [0] => Array ( [site_url] => http://192.168.252.138/ [root_dir] => /var/www/html/ [db_host] => localhost [db_port] => 3306 [db_sock] => [db_name] => unadb [db_user] => unadbuser [db_password] => adbpassword [site_title] => Test UNA [site_email] => someemail@email.com [admin_email] =>someemail@email.com@email.com [admin_username] => someusername [admin_password] => apassword [oauth_key] => 8s9fufgqsf [oauth_secret] => wz73zc4fxaanuifz4qsxhcgdgzmewtlx [language] => en [template] => protean [module] => persons [site_config] => 1 ) ) ) [4] => Array ( [file] => /var/www/html/install/classes/BxDolInstallSiteConfig.php [line] => 246 [function] => processConfigData [class] => BxDolInstallSiteConfig [type] => -> [args] => Array ( [0] => Array ( [site_url] => http://192.168.252.138/ [root_dir] => /var/www/html/ [db_host] => localhost [db_port] => 3306 [db_sock] => [db_name] => unadb [db_user] => unadbuser [db_password] => adbpassword [site_title] => Test UNA [site_email] =>someemail@email.com@email.com [admin_email] =>someemail@email.com@email.com [admin_username] =>someusername [admin_password] => apassword [oauth_key] => 8s9fufgqsf [oauth_secret] => wz73zc4fxaanuifz4qsxhcgdgzmewtlx [language] => en [template] => protean [module] => persons [site_config] => 1 ) ) ) [5] => Array ( [file] => /var/www/html/install/classes/BxDolInstallController.php [line] => 89 [function] => getFormHtml [class] => BxDolInstallSiteConfig [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /var/www/html/install/classes/BxDolInstallController.php [line] => 24 [function] => actionSiteConfig [class] => BxDolInstallController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/install/index.php [line] => 53 [function] => run [class] => BxDolInstallController [type] => -> [args] => Array ( [0] => site_config ) ) )
Comments
Hello Carlos!
RC7 doesn't have the full compatibility with PHP 7.2. See our closed ticket here https://github.com/unaio/una/issues?q=is%3Aissue+7.2+is%3Aclosed. You need little wait the new version.
With the best regards, Leonid
Thanks a lot, Leonid!
So, for which PHP version is UNA RC6 fully tested? Do you suggest to downgrade PHP to version 7.1?
No prob, Carlos! Yes, 7.1 version is fine, we're working on this variant regularly.