Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008174TestLinkDatabase MySQLpublic2018-01-04 10:292018-01-08 18:54
Reporterjouve 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.9.16 (2016 Q4) 
Fixed in Version 
Summary0008174: discrepency in php version check for mysql vs mysqli
Descriptionhi,

during install there are 2 checks of php_version to check for mysql driver:

in https://github.com/TestLinkOpenSourceTRMS/testlink-code/blob/testlink_1_9/install/installUtils.php#L390: [^]

php>=7.0.0 => mysqli
php<7.0.0 => mysql

in https://github.com/TestLinkOpenSourceTRMS/testlink-code/blob/testlink_1_9/lib/functions/configCheck.php#L573 [^]

php>=5.5.0 => mysqli
php<5.5.0 => mysql

this is confusing during install, for exemple with php5.6 and mysqli,

installCheck.php (using configCheck.php) would display that MySQL Database is ok then installNewDB.php (using installUtils.php) would display a error "Your PHP installation don't have the ..."
TagsNo tags attached.
Database (MySQL,Postgres,etc)mysql
Browser
PHP Version
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0027136)
fman (administrator)
2018-01-08 18:54

ok, will check thanks

- Issue History
Date Modified Username Field Change
2018-01-04 10:29 jouve New Issue
2018-01-08 18:54 fman Note Added: 0027136



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker