Steffen: We definitely plan on shifting to mysqli; I've been putting this off. This has 2 parts:
1) Changing the PHP to use the DB interface defined in db_conn.inc and boinc_db.inc (this is mostly done, except for the ops/ code) 2) Change db_conn.inc to use mysqli. There should both be straightforward; if anyone wants to help, please send patches. -- David On 22-Nov-2013 5:41 AM, "Steffen Möller" wrote:
Dear David, You may be well aware of the warnings that traditional mysql interface to PHP brings. I had performed the transition to mysqli for some code of mine before and feel somewhat confident about it. If you say that that you are not moving away from PHP to something else, then it may be worth the effort. Tell me so. Best, Steffen [Mon Nov 18 18:26:26.474142 2013] [:error] [pid 24782] [client 193.175.228.63:65500] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db.inc on line 49 [Mon Nov 18 18:26:26.477486 2013] [:error] [pid 24782] [client 193.175.228.63:65500] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db_conn.inc on line 31 [Mon Nov 18 18:26:28.023869 2013] [:error] [pid 24779] [client 193.175.228.63:65498] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db.inc on line 49, referer: http://twin1a.dermacloud.uni-luebeck.de/boincautodockvina_ops/ [Mon Nov 18 18:26:28.025029 2013] [:error] [pid 24779] [client 193.175.228.63:65498] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db_conn.inc on line 31, referer: http://twin1a.dermacloud.uni-luebeck.de/boincautodockvina_ops/ [Mon Nov 18 18:26:29.273016 2013] [:error] [pid 24779] [client 193.175.228.63:65498] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db.inc on line 49, referer: http://twin1a.dermacloud.uni-luebeck.de/boincautodockvina_ops/db_form.php?table=workunit [Mon Nov 18 18:26:29.275195 2013] [:error] [pid 24779] [client 193.175.228.63:65498] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db_conn.inc on line 31, referer: http://twin1a.dermacloud.uni-luebeck.de/
_______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
