Ralf, all,
I built a new server to move my egw install to. I am getting many deprecation
warning regarding the use of mysql.so by egw. There are thousands of these
warning in the httpd error_log. The warnings in the error log are of this type:
[Sun Dec 01 04:41:36 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer:
http://phoinix/egroupware/index.php?menuaction=admin.admin_db_backup.index
[Sun Dec 01 04:41:36 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer:
http://phoinix/egroupware/index.php?menuaction=admin.admin_db_backup.index
[Sun Dec 01 04:42:36 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer:
http://phoinix/egroupware/index.php?menuaction=admin.admin_db_backup.index
[Sun Dec 01 04:42:36 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer:
http://phoinix/egroupware/index.php?menuaction=admin.admin_db_backup.index
[Sun Dec 01 04:42:36 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_pconnect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 367, referer:
http://phoinix/egroupware/index.php?menuaction=admin.admin_db_backup.index
A single login, creates multiple warnings:
[Sun Dec 01 17:22:34 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_pconnect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 367, referer: http://phoinix/egroupware/login.php?cd=10
[Sun Dec 01 17:22:35 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_pconnect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 367, referer: http://phoinix/egroupware/login.php?cd=10
[Sun Dec 01 17:22:35 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer: http://phoinix/egroupware/login.php?cd=10
[Sun Dec 01 17:22:55 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer: http://phoinix/egroupware/login.php?cd=10
[Sun Dec 01 17:22:56 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer: http://phoinix/egroupware/home/index.php
[Sun Dec 01 17:22:56 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer: http://phoinix/egroupware/home/index.php
[Sun Dec 01 17:22:57 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer: http://phoinix/egroupware/home/index.php
[Sun Dec 01 17:22:57 2013] [error] [client 192.168.6.102] PHP Deprecated:
mysql_connect(): The mysql extension is deprecated and will be removed in the
future: use mysqli or PDO instead in
/srv/http/htdocs/egroupware/phpgwapi/inc/adodb/drivers/adodb-mysql.inc.php on
line 349, referer: http://phoinix/egroupware/home/index.php
This is a fresh install of 1.8.005 from svn. During apache2/php setup I
originally only enabled php extension=pdo_mysql.so, but egroupware/setup did not
provide access to mysql (MariaDB) database type through that driver in
egroupware/setup. After enabling extension=mysql.so and extension=mysqli.so,
egroupware/setup recognized the mysql database type. Currently I have the
following enabled:
extension=mysqli.so
extension=mysql.so
extension=odbc.so
;zend_extension=opcache.so
extension=openssl.so
extension=pdo_mysql.so
extension=pdo_odbc.so
extension=pdo_sqlite.so
extension=pspell.so
extension=sqlite3.so
How do I patch or configure egw to use the pdo_mysql.so or mysqli.so
extensions to get rid of the deprecations warnings? Thanks!
–
David C. Rankin, J.D.,P.E.
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don’t have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers