CitrusDB doesn't work with php7

Bug #1690110 reported by Charles Meo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
citrusdb
New
Undecided
Unassigned

Bug Description

Depending on your view, this is an application bug or a documentation bug.

Just tried installing on ubuntu 16.04 with:
apache 2.4.18 ubuntu
PHP Version 7.0.15-0ubuntu0.16.04.4
mysql Ver 14.14 Distrib 5.7.18, for Linux (x86_64)
I'm getting 'undefined function mysql_connect' This function was deprecated in php5 and has been removed in php7.

I am well aware that Citrus requires php 5.2, but that version is no longer installable by default on ubuntu 16.04. Even if it were possible, citrus sits on a version of php which is now two full versions off the pace. Is it good practice to require such old packages to make citrus go?

Anyway--the basic mysql adodb components as shipped will not work. So I tried changing sys_dbtype to mysqli and pdo_mysql, which also didn't work.

Can we please have some instructions on getting it working with PDO or mysqli? I get an 'Unable to connect' error. Both interfaces are working on my system according to phpinfo() so other than changing sys_dbtype I don't know what to do.

Or better still, release a version that works with the latest php out of the box.

Revision history for this message
Charles Meo (mrchuck) wrote :

I have fixed this problem which regrettably was operator error. Required a correctly-set up self-signed certificate which is now installed. citrus is working happily using php7 and mysqli.
Please cancel this bug report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.