Sziasztok
Egy ubuntu 14.04-en kellene belőnöm egy php7 mssql interfészt.
Találtam is megfelellőt:
https://www.microsoft.com/en-us/sql-server/developer-get-started/php/ub…
Viszont a problémám az, hogy a unixodbc drivert nem tudom telepiteni
#/home/phpfarm/inst/php-7.1.1/sqlsrv-5.2.0# apt-get install unixodbc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
unixodbc-dev : Depends: unixodbc (= 2.2.14p2-5ubuntu5)
Depends: odbcinst1debian2 (= 2.2.14p2-5ubuntu5) but 2.3.1-3 is to be installed
E: Unable to correct problems, you have held broken packages.
Hogy tudom megjavitani?
Előre is köszi!
Hozzászólások
https://packages.microsoft.com/config/ubuntu/16.04/
14.04 != 16.04
Nyilván átirtam és a 14.04-es repót használom.
/home/phpfarm/inst/php-7.1.1/sqlsrv-5.2.0# cat /etc/apt/sources.list.d/mssql-tools.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
update:
"This extension now only supports PHP 7. Additionally, the only Ubuntu LTS version this extension supports is Ubuntu 16.04. You will not be able to use this extension on Ubuntu 12.04 or 14.04. "
Ezért nem megy :D
-------------------------
Dropbox refer - mert kell a hely: https://db.tt/V3RtXWLl
neut @ présház