Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-04-17 Thread Paul Gevers
Hi TheSin,

On 04-04-16 20:56, TheSin wrote:

> I just meant if mysql + php7 is used then you need to remove the
> persist on the dsn, according to the adodb code base that is what
> forces _pconnect with mysql driver, with mysqli persist is ignored.
>
> I just wanted to put that info incase it was an easier option then
> trying to get everyone to update config to use mysqli.  I to am just
> using mysqli, but I wanted to figure out the why and how of it all.

I tested cacti with the persist removed and the connection failed (with
mysqli). So I decided to just switch the driver.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-04-04 Thread Paul Gevers
Hi TheSin,

Your feedback is much appreciated.

On 04-04-16 20:56, TheSin wrote:
> I agree using mysqli will fix it without change.

Great, that confirms my testing.

> I just wanted to put that info incase it was an easier option then
> trying to get everyone to update config to use mysqli.  I to am just
> using mysqli, but I wanted to figure out the why and how of it all.

Well, changing the default properly to mysqli AND making this change is
then a good way forward I believe. Cacti SHOULD be calling libphp-adodb
with mysqli, but if some admin forgets to make the change in an already
installed setup, having the package behave properly is extremely nice.

Thanks again.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-04-04 Thread TheSin
I agree using mysqli will fix it without change.

I just meant if mysql + php7 is used then you need to remove the persist on the 
dsn, according to the adodb code base that is what forces _pconnect with mysql 
driver, with mysqli persist is ignored.

I just wanted to put that info incase it was an easier option then trying to 
get everyone to update config to use mysqli.  I to am just using mysqli, but I 
wanted to figure out the why and how of it all.


> On Apr 4, 2016, at 12:37 PM, Paul Gevers  wrote:
> 
> Hi TheSin,
> 
> On 04-04-16 18:46, TheSin wrote:
>> I believe the real issue isn’t with adodb, it’s line 38 of 
>> /usr/share/cacti/site/lib/database.php
> 
> Without any change except for database_type, my testing was already
> successful. Do you have any idea when and how this code would be triggered?
> 
>> $dsn = "$db_type://" . rawurlencode($user) . ":" . rawurlencode($pass) . "@" 
>> . rawurlencode($host) . "/" . rawurlencode($db_name) . "?persist”;
>> 
>> I believe we must remove the persist, so it no longer uses _pconnect in 
>> adodb, and it’ll switch to using _connect instead.
>> 
>> This is untested though I plan to test it in a bit, but I believe this 
>> should fix it.
> 
> As said, switching from mysql to mysqli already fixed issues. Are you
> sure there is more that needs fixing?
> 
> Paul
> 
> 



Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-04-04 Thread Paul Gevers
Hi TheSin,

On 04-04-16 18:46, TheSin wrote:
> I believe the real issue isn’t with adodb, it’s line 38 of 
> /usr/share/cacti/site/lib/database.php

Without any change except for database_type, my testing was already
successful. Do you have any idea when and how this code would be triggered?

> $dsn = "$db_type://" . rawurlencode($user) . ":" . rawurlencode($pass) . "@" 
> . rawurlencode($host) . "/" . rawurlencode($db_name) . "?persist”;
> 
> I believe we must remove the persist, so it no longer uses _pconnect in 
> adodb, and it’ll switch to using _connect instead.
> 
> This is untested though I plan to test it in a bit, but I believe this should 
> fix it.

As said, switching from mysql to mysqli already fixed issues. Are you
sure there is more that needs fixing?

Paul




signature.asc
Description: OpenPGP digital signature


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-04-04 Thread TheSin
I believe the real issue isn’t with adodb, it’s line 38 of 
/usr/share/cacti/site/lib/database.php

$dsn = "$db_type://" . rawurlencode($user) . ":" . rawurlencode($pass) . "@" . 
rawurlencode($host) . "/" . rawurlencode($db_name) . "?persist”;

I believe we must remove the persist, so it no longer uses _pconnect in adodb, 
and it’ll switch to using _connect instead.

This is untested though I plan to test it in a bit, but I believe this should 
fix it.


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-03-31 Thread Jean-Michel Vourgère
Control: reassign 815987 cacti
Control: retitle 815987 cacti requires porting to php7.0; mysql removed

Hello Paul

> PHP Fatal error:  Uncaught Error: Call to undefined function
> mysql_pconnect()
> (...)
> Deprecated: mysql_pconnect(): The mysql extension is deprecated and
> will be removed in the future: use mysqli or PDO instead

On 26-02-16 16:01, Jean-Michel Vourgère wrote:
> (...)
> Can you try replacing mysql by mysqli in your configuration file?
> (...)

On 26-02-16 16:41, Jean-Michel Vourgère wrote:
> I would try replacing
> $database_type = "mysql";
> by
> $database_type = "mysqli";
> maybe?

Paul Gevers wrote:
> (...)
> mysqli_real_connect() expects parameter 6 to be long

mysqli parameter 6 type was fixed in 5.20.3-2.


Paul Gevers wrote:
> (...)I did
> some testing and everything seems to be OK with this change.

So I think the s/mysql/mysqli/ fix should be done in cacti, not in
adodb: mysql has been yelding deprecated warnings for a while. As you
pointed out, its removal has been announced in debian-devel-announce.

I think the source of confusion is that the adodb *driver name* is
called "database_type" in cacti configuration file. This is not the best
name, and maybe adding a comment there would be useful...

I'm reassigning the bug to cacti. Please clone and reassign if you'd
like php and/or adodb to continue to have mysql driver support...

-- 
Nirgal



Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-03-28 Thread Paul Gevers
Hi Jean-Michel,

On 25-03-16 11:45, Jean-Michel Vourgère wrote:
> Until a proper fix is released, can you patch your installed
> adodb-mysqli.inc.php file, probably at
> /usr/share/php/adodb/drivers/adodb-mysqli.inc.php, at line 121, replace
>   $this->port,
> by
>   (int)$this->port,
> and try again the mysqli driver in cacti, please?

I did (I didn't see your updated package until after the test). I did
some testing and everything seems to be OK with this change.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-03-28 Thread Paul Gevers
Hi Damien,

Thank you for taking the time to respond here.

On 24-03-16 14:34, Damien Regad wrote:
> As mentioned earlier, the 'mysql' driver is no longer available in PHP 7
> [2], you must use 'mysqli'.

Good to know. So I understand correctly that because php doesn't support
mysql driver anymore, adodb also doesn't. Makes fully sense, but I
wasn't sure.

> With regards to the error you're getting with the latter, I would
> appreciate if you could provide additional information, preferably a
> code snippet allowing us to reproduce the error and/or a detailed stack
> trace, so we can get a better understanding of the problem. If you don't
> mind posting that directly in [1], that would be most convenient for us.

Will try to get you the required information in the next couple of days,
if the casting to int of $this->port isn't enough to fix the issue.

> On Fri, 26 Feb 2016 20:22:10 +0100 Paul Gevers  > wrote:
>> On 26-02-16 17:23, Ondřej Surý wrote:
>> > So I wouldn't worry too much and just wait for ADOdb 5.21 release.
>>
>> Depending on how serious adodb takes the mysql support in php7
> 
> Not exactly sure what you mean by that...

Well, what I meant was that it would be possible that adodb would still
support mysql (e.g. by wrapping) although php doesn't. I of course have
no clue how feasible that is.

> I'm doing this in my spare time,

Me too, so your point below is well understood.

> and I unfortunately don't have too much
> of that these days, but we do our best to fix any issues that come up,
> as fast as possible.
> I can't give you a commitment for an official release date for ADOdb
> 5.21, but I'm hoping to get around to it in the next few weeks.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-03-25 Thread Jean-Michel Vourgère
Hello Paul

you wrote:
>> I would try replacing
>> $database_type = "mysql";
>> by
>> $database_type = "mysqli";
>> maybe?
>>
>> *If* this work, cacti default driver should be changed too. A quick
>> "grep -R database_type" in cacti source seems to show that there are
>> many instances to change...
>>
>> If you don't have a "database" in your config, it must be using the
>> wrong "mysql" value: Try adding it.
> 
> The config does define that. That would be an extremely simple solution.
> 
> Unfortunately, it looks like mysql and mysqli are not compatible (at
> least not on my jessie system with php5:
> Error on web-page:
> FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure
> you have specified a valid MySQL database name in 'include/config.php'
> 
> [Fri Feb 26 16:48:25.181210 2016] [:error] [pid 7222] [client ::1:36225]
> PHP Warning:  mysqli_real_connect() expects parameter 6 to be long,
> string given in /usr/share/php/adodb/drivers/adodb-mysqli.inc.php on
> line 113
> 
> But this probably means that I just have to fix cacti if this is truly
> properly supported by libphp-adodb. We should just reassign I guess.

Actually, this is a another issue that is is being worked at. [1][2]

Ubuntu totally removed the mysql driver, and only mysqli is left [3].
I'm not sure what Debian will do, but you probably should not count on
the mysql driver, and has been issuing deprecated warnings for a while
now...

Until a proper fix is released, can you patch your installed
adodb-mysqli.inc.php file, probably at
/usr/share/php/adodb/drivers/adodb-mysqli.inc.php, at line 121, replace
$this->port,
by
(int)$this->port,
and try again the mysqli driver in cacti, please?


[1] https://github.com/ADOdb/ADOdb/issues/218
[2]
https://anonscm.debian.org/git/collab-maint/libphp-adodb.git/commit/?id=ea9704f032df18eb45ec6d6395af3e7a8d3d13f5
[3]
https://patches.ubuntu.com/libp/libphp-adodb/libphp-adodb_5.20.3-1ubuntu1.patch



Bug#815987: [php-maint] Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-03-24 Thread Jean-Michel Vourgère
I just noticed that Nishanth Aravamudan from Canonical made a patch.
https://patches.ubuntu.com/libp/libphp-adodb/libphp-adodb_5.20.3-1ubuntu1.patch

I'm not sure having the .pc/ files in there is a good idea. But several
changes look good for Debian.

Upstream, you migh want the (int) cast on line 121 of
drivers/adodb-mysqli.inc.php. Completly removing the mysql and mysqlt
drivers seem a bit extreme to me, unless you want to drop php5 support
entirely...



Bug#815987: [php-maint] Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-03-24 Thread Damien Regad
Greetings,

I'm the maintainer for ADOdb. I came here following an issue report [1] in
our tracker.

As mentioned earlier, the 'mysql' driver is no longer available in PHP 7
[2], you must use 'mysqli'.

With regards to the error you're getting with the latter, I would
appreciate if you could provide additional information, preferably a code
snippet allowing us to reproduce the error and/or a detailed stack trace,
so we can get a better understanding of the problem. If you don't mind
posting that directly in [1], that would be most convenient for us.

On Fri, 26 Feb 2016 20:22:10 +0100 Paul Gevers  wrote:
> On 26-02-16 17:23, Ondřej Surý wrote:
> > So I wouldn't worry too much and just wait for ADOdb 5.21 release.
>
> Depending on how serious adodb takes the mysql support in php7

Not exactly sure what you mean by that...
I'm doing this in my spare time, and I unfortunately don't have too much of
that these days, but we do our best to fix any issues that come up, as fast
as possible.
I can't give you a commitment for an official release date for ADOdb 5.21,
but I'm hoping to get around to it in the next few weeks.

Cheers
Damien


[1] https://github.com/ADOdb/ADOdb/issues/218
[2] http://php.net/manual/en/intro.mysql.php


Bug#815987: [php-maint] Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-02-26 Thread Paul Gevers
On 26-02-16 17:23, Ondřej Surý wrote:
> http://adodb.org/dokuwiki/doku.php?id=project:version_5_development
> 
> Highest PHP Version support (V5.21) 7
> 
> So I wouldn't worry too much and just wait for ADOdb 5.21 release.

Depending on how serious adodb takes the mysql support in php7, this may
indeed be what I need for cacti. Just to be clear, once (this may take a
while) the development branch is turned into a proper release, I don't
depend on libphp-adodb anymore anyways, my upstream already move away.

So I would say, if it is ok with you, try to package the latest version
of adodb in Debian and I will try to see if that resolves the issue.

Paul




signature.asc
Description: OpenPGP digital signature


Bug#815987: [php-maint] Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-02-26 Thread Ondřej Surý
http://adodb.org/dokuwiki/doku.php?id=project:version_5_development

Highest PHP Version support (V5.21) 7

So I wouldn't worry too much and just wait for ADOdb 5.21 release.

I can help with porting the packaging or just take a look at src:php-rrd
or src:xdebug, how to do it efficiently.

I am not going to touch subversion even with a long pole though :).

Cheers,
-- 
Ondřej Surý 
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

On Fri, Feb 26, 2016, at 13:23, Paul Gevers wrote:
> Package: libphp-adodb
> Version: 5.15-1
> Severity: important
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> In response to the announcement¹ that strech will ship with php7.0 I
> tested my
> package cacti (which depends on libphp-adodb) with php7.0 in a clean sid
> lxc
> container. However, the error logs report (password not stripped, I don't
> care
> in this case):
> 
> [Fri Feb 26 11:16:31.154718 2016] [:error] [pid 24140] [client ::1:35672]
> PHP Fatal error:  Uncaught Error: Call to undefined function
> mysql_pconnect() in
> /usr/share/php/adodb/drivers/adodb-mysql.inc.php:480\nStack trace:\n#0
> /usr/share/php/adodb/adodb.inc.php(733):
> ADODB_mysql->_pconnect('localhost', 'cacti', 'AoCcMn8ZNg48', 'cacti')\n#1
> /usr/share/php/adodb/adodb.inc.php(4799):
> ADOConnection->PConnect('localhost', 'cacti', 'AoCcMn8ZNg48',
> 'cacti')\n#2 /usr/share/cacti/site/lib/database.php(51):
> ADONewConnection('mysql')\n#3
> /usr/share/cacti/site/include/global.php(212):
> db_connect_real('localhost', 'cacti', 'AoCcMn8ZNg48', 'cacti', 'mysql',
> '', false)\n#4 /usr/share/cacti/site/include/auth.php(25):
> include('/usr/share/cact...')\n#5 /usr/share/cacti/site/index.php(25):
> include('/usr/share/cact...')\n#6 {main}\n  thrown in
> /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 480
> 
> When I use codesearch.d.n to search for where mysql_pconnect is
> implemented, I
> find a lot of hits in the php5 package (test suite) which say:
> 
> Deprecated: mysql_pconnect(): The mysql extension is deprecated and will
> be removed in the future: use mysqli or PDO instead in %s on line %d
> 
> My understanding is that mysql_pconnect got removed from the php package
> and
> libphp-adodb needs to be ported to php7.0 by using mysqli instead of
> mysql_pconnect.
> 
> Thanks for considering.
> Paul
> 
> ¹ https://lists.debian.org/debian-devel-announce/2016/01/msg2.html
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1
> 
> iQEcBAEBCAAGBQJW0EPBAAoJEJxcmesFvXUKAs4H/RjDD5qesKe+YCvsNsiK2RcD
> M0/lX9Ib83Wt1vNR/h8/rt4cs65M52WMUcdBkfVffKVsm7NSZNHTIibNdiXAj8Rk
> XK5zmel0wqQiiUaqtpov4JAXa5LAorZWsLEEu/hO8ODCYCoHTOfFjFhHp5edNz0t
> hm5yCHqTxyo4rJddtOU1IfgnbL3M7ms4PPMXZ72BjGAtB+kJKrZIJTQUy3KKk8CU
> /VFvFOFe2+Xr55HeFuWklFSONAoPus/o7t8BvY8ycJv48eKZBCHA69s5ZCdOxA3B
> babiirbnyN5duPQSNyrkgDV+wpRMD4gNd3zpibBIMDyLf93kmNmyNQOU/HqpldI=
> =py44
> -END PGP SIGNATURE-
> 
> ___
> pkg-php-maint mailing list
> pkg-php-ma...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-02-26 Thread Paul Gevers
Hi Jean-Michel,

On 26-02-16 16:41, Jean-Michel Vourgère wrote:
> I would try replacing
> $database_type = "mysql";
> by
> $database_type = "mysqli";
> maybe?
> 
> *If* this work, cacti default driver should be changed too. A quick
> "grep -R database_type" in cacti source seems to show that there are
> many instances to change...
> 
> If you don't have a "database" in your config, it must be using the
> wrong "mysql" value: Try adding it.

The config does define that. That would be an extremely simple solution.

Unfortunately, it looks like mysql and mysqli are not compatible (at
least not on my jessie system with php5:
Error on web-page:
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure
you have specified a valid MySQL database name in 'include/config.php'

[Fri Feb 26 16:48:25.181210 2016] [:error] [pid 7222] [client ::1:36225]
PHP Warning:  mysqli_real_connect() expects parameter 6 to be long,
string given in /usr/share/php/adodb/drivers/adodb-mysqli.inc.php on
line 113

But this probably means that I just have to fix cacti if this is truly
properly supported by libphp-adodb. We should just reassign I guess.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-02-26 Thread Jean-Michel Vourgère
Paul Gevers wrote:
> Please help me. I only include
> "/usr/share/php/adodb/adodb.inc.php". Is that wrong?

It looks like your configuration uses the deprecated mysql driver.

That driver looks dead. You should be using mysqli, if I understand
correctly.

I would try replacing
$database_type = "mysql";
by
$database_type = "mysqli";
maybe?

*If* this work, cacti default driver should be changed too. A quick
"grep -R database_type" in cacti source seems to show that there are
many instances to change...

If you don't have a "database" in your config, it must be using the
wrong "mysql" value: Try adding it.

Does that help?



Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-02-26 Thread Paul Gevers
[no need to mail me directly, I subscribed to the bug]

On 26-02-16 16:01, Jean-Michel Vourgère wrote:
> I believe you should not be using
> /usr/share/php/adodb/drivers/adodb-mysql.inc.php.
> /usr/share/php/adodb/drivers/adodb-mysqli.inc.php exists and probably is
> what you want.
> 
> Can you try replacing mysql by mysqli in your configuration file?

Please help me. I only include
"/usr/share/php/adodb/adodb.inc.php". Is that wrong?

Paul



signature.asc
Description: OpenPGP digital signature


Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-02-26 Thread Jean-Michel Vourgère
Control: tags -1 + moreinfo

Hello Paul

I believe you should not be using
/usr/share/php/adodb/drivers/adodb-mysql.inc.php.
/usr/share/php/adodb/drivers/adodb-mysqli.inc.php exists and probably is
what you want.

Can you try replacing mysql by mysqli in your configuration file?



Paul Gevers wrote:
> Package: libphp-adodb
> Version: 5.15-1
> Severity: important
> 
> In response to the announcement¹ that strech will ship with php7.0 I tested my
> package cacti (which depends on libphp-adodb) with php7.0 in a clean sid lxc
> container. However, the error logs report (password not stripped, I don't care
> in this case):
> 
> [Fri Feb 26 11:16:31.154718 2016] [:error] [pid 24140] [client ::1:35672] PHP 
> Fatal error:  Uncaught Error: Call to undefined function mysql_pconnect() in 
> /usr/share/php/adodb/drivers/adodb-mysql.inc.php:480\nStack trace:\n#0 
> /usr/share/php/adodb/adodb.inc.php(733): ADODB_mysql->_pconnect('localhost', 
> 'cacti', 'AoCcMn8ZNg48', 'cacti')\n#1 
> /usr/share/php/adodb/adodb.inc.php(4799): 
> ADOConnection->PConnect('localhost', 'cacti', 'AoCcMn8ZNg48', 'cacti')\n#2 
> /usr/share/cacti/site/lib/database.php(51): ADONewConnection('mysql')\n#3 
> /usr/share/cacti/site/include/global.php(212): db_connect_real('localhost', 
> 'cacti', 'AoCcMn8ZNg48', 'cacti', 'mysql', '', false)\n#4 
> /usr/share/cacti/site/include/auth.php(25): include('/usr/share/cact...')\n#5 
> /usr/share/cacti/site/index.php(25): include('/usr/share/cact...')\n#6 
> {main}\n  thrown in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 
> 480
> 
> When I use codesearch.d.n to search for where mysql_pconnect is implemented, I
> find a lot of hits in the php5 package (test suite) which say:
> 
> Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be 
> removed in the future: use mysqli or PDO instead in %s on line %d
> 
> My understanding is that mysql_pconnect got removed from the php package and
> libphp-adodb needs to be ported to php7.0 by using mysqli instead of
> mysql_pconnect.
> 
> Thanks for considering.
> Paul
> 
> ¹ https://lists.debian.org/debian-devel-announce/2016/01/msg2.html



Bug#815987: libphp-adodb requires porting to php7.0; mysql_pconnect is removed

2016-02-26 Thread Paul Gevers
Package: libphp-adodb
Version: 5.15-1
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

In response to the announcement¹ that strech will ship with php7.0 I tested my
package cacti (which depends on libphp-adodb) with php7.0 in a clean sid lxc
container. However, the error logs report (password not stripped, I don't care
in this case):

[Fri Feb 26 11:16:31.154718 2016] [:error] [pid 24140] [client ::1:35672] PHP 
Fatal error:  Uncaught Error: Call to undefined function mysql_pconnect() in 
/usr/share/php/adodb/drivers/adodb-mysql.inc.php:480\nStack trace:\n#0 
/usr/share/php/adodb/adodb.inc.php(733): ADODB_mysql->_pconnect('localhost', 
'cacti', 'AoCcMn8ZNg48', 'cacti')\n#1 /usr/share/php/adodb/adodb.inc.php(4799): 
ADOConnection->PConnect('localhost', 'cacti', 'AoCcMn8ZNg48', 'cacti')\n#2 
/usr/share/cacti/site/lib/database.php(51): ADONewConnection('mysql')\n#3 
/usr/share/cacti/site/include/global.php(212): db_connect_real('localhost', 
'cacti', 'AoCcMn8ZNg48', 'cacti', 'mysql', '', false)\n#4 
/usr/share/cacti/site/include/auth.php(25): include('/usr/share/cact...')\n#5 
/usr/share/cacti/site/index.php(25): include('/usr/share/cact...')\n#6 {main}\n 
 thrown in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 480

When I use codesearch.d.n to search for where mysql_pconnect is implemented, I
find a lot of hits in the php5 package (test suite) which say:

Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be 
removed in the future: use mysqli or PDO instead in %s on line %d

My understanding is that mysql_pconnect got removed from the php package and
libphp-adodb needs to be ported to php7.0 by using mysqli instead of
mysql_pconnect.

Thanks for considering.
Paul

¹ https://lists.debian.org/debian-devel-announce/2016/01/msg2.html

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBCAAGBQJW0EPBAAoJEJxcmesFvXUKAs4H/RjDD5qesKe+YCvsNsiK2RcD
M0/lX9Ib83Wt1vNR/h8/rt4cs65M52WMUcdBkfVffKVsm7NSZNHTIibNdiXAj8Rk
XK5zmel0wqQiiUaqtpov4JAXa5LAorZWsLEEu/hO8ODCYCoHTOfFjFhHp5edNz0t
hm5yCHqTxyo4rJddtOU1IfgnbL3M7ms4PPMXZ72BjGAtB+kJKrZIJTQUy3KKk8CU
/VFvFOFe2+Xr55HeFuWklFSONAoPus/o7t8BvY8ycJv48eKZBCHA69s5ZCdOxA3B
babiirbnyN5duPQSNyrkgDV+wpRMD4gNd3zpibBIMDyLf93kmNmyNQOU/HqpldI=
=py44
-END PGP SIGNATURE-