Quantcast
Channel: Ocsinventory Q&A - Recent questions
Viewing all articles
Browse latest Browse all 4376

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future

$
0
0
I have installed:
Apache 2.4.7
MySQL 5.6.19

PHP 5.5.9

and all the modules of perl mentioned in:
http://wiki.ocsinventory-ng.org/index.php/Documentation:Server#Under_Linux_Operating_System.

hi,  i am installed OCS Inventory NG for Ubuntu Server 14.04.01 LTS.
the installation not had problems but when i login with my credentials in the page 192.168.11.201/ocsreports

at top it shows a message:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 13

in the log of Apache a message is displayed
[Fri Sep 18 16:29:47.139271 2015] [:error] [pid 4966] [client 192.168.11.4:5772] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 13, referer: http://192.168.11.201/ocsreports/index.php
[Fri Sep 18 16:29:47.140307 2015] [:error] [pid 4966] [client 192.168.11.4:5772] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 13, referer: http://192.168.11.201/ocsreports/index.php

if i change the line  

mysql_connect();

for

mysqli();

i more errors appear
 

please someone help me remove the message.

Viewing all articles
Browse latest Browse all 4376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>