-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will Ubuntu 20.04 LTS be supported? #1110
Comments
It first needs to be supported by the Microsoft ODBC Driver 17 for SQL Server. That will happen at the end of July/beginning of August when the next version of the ODBC driver comes out. At that point, the Microsoft PHP Drivers 5.8 for SQL Server can be tested for compatibility and possibly declare support for Ubuntu 20.04 using the new ODBC driver. |
Thanks for your answer, helps a lot! |
Only then? That is kinda unfortunate... no way to build before that? |
Yes you can @bbrala. We don't officially support it yet, but you can try the instructions. When downloading ODBC driver and tools, please use the packages from Ubuntu 19.10 |
Cool, i'll try that for the dev, but running this in production seems risky, will probably have to wait till end of summer right?
Sent from Nine<http://www.9folders.com/>
…________________________________
Van: Jenny Tam <notifications@github.com>
verzonden: maandag 4 mei 2020 17:47
Aan: microsoft/msphpsql
Cc: Björn Brala; Mention
Onderwerp: Re: [microsoft/msphpsql] Will Ubuntu 20.04 LTS be supported? (#1110)
Yes you can @bbrala<https://github.com/bbrala>. We don't officially support it yet, but you can try the instructions<https://docs.microsoft.com/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-ver15#installing-the-drivers-on-ubuntu-1604-1804-and-1910>. When downloading ODBC driver<https://docs.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#ubuntu17>, please use the packages from Ubuntu 19.10
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1110 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAZEN6VM4ZHBINDLBGTJJ3DRP3PQ5ANCNFSM4LXJEXXA>.
|
Yes, probably @bbrala . If you run into any issues in the dev settings, please create a new issue for us to track. |
I try to connect with sqlcmd or bcp and it's impossible in Ubuntu 20.04 The connect with isql or tsql is successful |
@Jordi975 so far our internal testing shows nothing unusual. Is it a fresh install of Ubuntu 20.04 or an upgrade from the previous version? |
It's a fresh install of Ubuntu 20.04 |
Did you follow my suggestion above @Jordi975 to install the ODBC driver and tools? |
Yes I did and haven't had any complaints from developers so it seems to work as it should:+1: |
That's great to know, @bbrala 👍 |
Hi, just to notify you that using Ubuntu 19.10 repo on a fresh install Ubuntu 20.04 gives this error when trying to connect to sql: |
I tried it but the connection with sqlcmd didn't work |
Sorry @yitam , is SQL Server 2016 Microsoft SQL Server 2016 (SP1-GDR) (KB4505219) - 13.0.4259.0 (X64) |
Now, yes @yitam ...thank you so much for you help. I connected with sqlcmd and PHP7.4 !! But I have an application running on in other server Ubuntu 18.04 (PHP 7.3) Example: while( $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_ASSOC) ) { ERROR: Caught exception: Property date does not exist |
hi @Jordi975 please check php 7.4 deprecation to see if ReflectionObject is one of them. If you like, please create a new issue as this is unrelated to Ubuntu 20.04 support |
Microsoft SQL Server 2014 (SP2-GDR) (KB4019093) - 12.0.5207.0 (X64) |
@denisdal as explained above, a workaround is required for older SQL Server versions. There is a reason for the enhanced security and do it at your own risk. |
Hello @yitam, Your solution reference for older SQL Server versions with Ubuntu 20.04 worked. I did not have an issue with this in 19.10, but as soon as I upgraded to 20.04, I was getting the following error: Thank you so much for your help! :-) |
With the new release of the ODBC driver 17.6 is there an ETA for the php driver for Linux? |
@fasterforward Give the 5.8 release a try with ODBC 17.6 and let us know how it goes. We are going to run the same configuration through our PHP test suites and see if 5.8 can simply be certified with ODBC 17.6. I don't have an ETA to share at this time, though. Looking at schedules, we could know this week, or a couple weeks later. Regards, |
Hi @fasterforward and others, As @David-Engel mentioned, SQLSRV drivers 5.8 now officially support the new ODBC driver 17.6. That being said, Ubuntu 20.04 LTS comes with stricter security measure and if you're using older servers (prior to SQL Server 2017) you still require a workaround (as explained above and other related issues). Please consider upgrading your servers as well. If you encounter any other problem please create a new issue. |
Thanks for you reply and I am happy with your answer! We will connect to Sql Server 2019, from Ubuntu 20.04 with php 7.4 (default php version of 20.04). Can you confirm that this is fully supported by Microsoft? |
Yes @fasterforward and also please check our support matrix for your future reference. |
Thank you for pointing me to the matrix. Very useful information. Have a nice day! |
With the near arrival of Ubuntu 20.04 I am wondering is this version of Ubuntu supported?
The text was updated successfully, but these errors were encountered: