install.php reports missing php5 dependency
Bug #1640132 reported by
Wouter Hanegraaff
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Server |
New
|
Undecided
|
Unassigned | ||
ocsinventory-server (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
New
|
High
|
Unassigned | ||
Yakkety |
New
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned |
Bug Description
After a minimal ubuntu server installation, install ocsinventory-server and ocsinventory-
When installation is completed, open http://
The following error is displayed:
"ERROR: MySQL for PHP is not properly installed.
Try installing MySQL for php package (Debian: php5-mysql)"
However, php5-mysql does not exist in xenial. Looking into the package, I found it uses mysql_connect, a function that has been deprecated for many years and was removed in php7.0. See http://
This makes the package unusable.
To post a comment you must log in.
Hi,
Please read this first : https:/ /launchpad. net/ocsinventor y/+announcement /13550
Your problem has been fixed on the master branch and will be available in the next release.
Master branch link : /github. com/OCSInventor y-NG/OCSInvento ry-ocsreports
https:/
Regards,
Gilles Dubois.