Closed gregrobson closed 5 years ago
@meet-bhagdev thanks a lot for this release, your team have plans to release a x64 version for this TP? Regards
Happy to see something, unhappy that i cannot use it because the lack of 64bit support. As already asked, some infos for the 64bit issue?
@meet-bhagdev news for x64?
Given x64 support in php was experimental until php7 anyway (and therefore presumably not used in the wild) I'd (personally) much rather have a PDO driver in any form first, with x64 for both the old sqlSrv and newer PDO to follow.
@ashryalls +1
x64 +1 :-)
PDO +1
Please release support for x64 PHP 7 soon. It'll be a whole new world for many of us! Many Thanks~!
Thanks for all the feedback so far. I would like to share a survey with you all. This will help us prioritize the work going forward. If you all could spend a few seconds to provide your input on this survey, that would be greatly appreciated.
Thanks @meet-bhagdev :)
I'm also looking for PDO x64 (just finished the survey). Thank you @meet-bhagdev for all your work on this and it's gratifying to hear that MSSQL updates/requirements may be more in step with future PHP releases.
Thanks @meet-bhagdev :)
just for interests sake, will you post the results of the poll here when it finishes? it'll be interesting to see the distribution of tech requirements from different devs.
Hello guys, is there a way to compile the new released sources on Linux?
We will definitely publish the results of the poll once it ends. I will close the poll on Sunday (2/7). I believe that is sufficient time for everyone to share their requirements.
@meet-bhagdev How did the poll turn out?
@KyleWiering thanks for the ping. It turned out great. I was delighted to see the number of unique respondents (147 respondents). Here are the results:
Q: What does this mean? Ans: This means, we will revisit our plans to see how we can align best with what you all want here. We plan on supporting all the variants mentioned in the survey. The goal of the survey was to figure out which ones should we prioritize. We now have a clear idea and will try our best to do prioritize based on the data.
Thank you all for taking time to do this survey. Let me know if you have any questions.
Meet
Thats why i cant still use pdo sqlsrv driver on new PHP7. We are planning to develop new ERP for our company and i wonder how can i proceed with the versions. So i have to downgrade to PHP5.6 if i want to use IIS and PHP on one mashine?
Tested with php nts fast cgi 7.0.3 and nginx and works fine at first look.
@sirio3mil Glad to hear :) @naskobulgaria : We are currently working on the PDO sqlsrv driver. Will keep you and the rest of the Github community updated.
@meet-bhagdev do you have an ETA on the PDO sqlsrv driver?
Tested on Windows 7 x64 + PHP 7.0.3 x86 Thread Safe. And works very nice.
PS: I will be waiting for PDO_SQLSRV version.
Thanks a lot.
@nbpalomino : glad to hear :) @Joe-U-Questionmark : Thanks to the survey results we have we have mostly been focusing on making updates to support native 64-bit and the PDO driver. I do not have an eta to give yet but will let have timeline to share in a few days.
I appreciate all of the hard work. I am patiently waiting on the native 64 BIT driver to upgrade to PHP 7. I am currently running Apache 64 Bit and PHP 5.6.5 64 Bit. I could really use the performance gain that PHP 7 promises :)
I will add it's nice to have communication with a Microsoft Rep. Thank You!
I am using the "PHP5.6 + SQL Server Driver for PHP + PDO", but in trouble in that SELECT is slow. When I search on the Internet, there was a person who suffer from the same phenomenon.
This problem is, what shall be resolved by PHP7?
Thanks.
I would like to add a request that the new drivers have an option to not send the messages like the following to the php error log: pdo_sqlsrv_db_handle_factory: SQLSTATE = 01000 pdo_sqlsrv_db_handle_factory: error code = 5701 pdo_sqlsrv_db_handle_factory: message = [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Changed database context to 'Scheduling'.
If there is currently a way to do that which I'm not aware of, please enlighten me. Thanks
@meet-bhagdev
but will let have timeline to share in a few days
Any news on that? 2 weeks over since that comment. Especially interested for the 64bit native release.
I am waiting on the x64 PDO driver, any news on timescales?
Hi all, thanks for the ping. We have been working extremely hard on the PDO 64 bit &32 bit drivers as well as the native SQLSRV 64-bit driver. We plan on sharing an early preview 64 bit native SQLSRV module in the week of 3/14 and the PDO 64-bit and 32-bit drivers about 3 weeks after that. That being said, we are pushing extremely hard to get these drivers out of the door as soon as we can. Towards the end of the week I will have the precise dates to share.
In the meanwhile, I also wanted to share an exciting announcement of running SQL Server on Linux. Check it out :) https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
Just good news, thx @meet-bhagdev
Hello Thanks, it's a good news. Will the driver works with SQL Azure wich doesn't allow the USE keyword (The database should be selected during the connection)
Thanks
Regards
The week of 3/14 is like Christmas in March... wrap a bow around the 64 bit native SQLSRV driver please ;)
Hello all, we just uploaded the bits for the 64-bit SQLSRV driver. Feel free to give it a shot and let us know if you find any bugs/issues/concerns that you would like us to address. Next up, 64-bit PDO and 32-bit PDO driver. You should expect to see a release from us on the PDO variants in the next few weeks. I will try to get an accurate timeline as soon as I can.
Cheers, Microsoft PHP Driver for SQL Server team
Where are they please; I looked under https://github.com/Azure/msphpsql/releases but didn't see anything new.
I am stupid.. lol I thought those were prefixed with PDO, sorry.
No worries @DigitalSolo, glad it got sorted out. Would love to get your feedback on the bits.
Cheers, Meet
I am unable to connect to the DB with this error message: Server. Access the following URL to download the ODBC Driver 11 for SQL Server for x64: http://go.microsoft.com/fwlink/?LinkId=163712 [message] => This extension requires the Microsoft ODBC Driver 11 for SQL Server. Access the following URL to download the ODBC Driver 11 for SQL Server for x64: http://go.microsoft.com/fwlink/?LinkId=163712 )
[1] => Array
(
[0] => IM002
[SQLSTATE] => IM002
[1] => 0
[code] => 0
[2] => [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
[message] => [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
)
)
@DigitalSolo The Microsoft ODBC Driver is a pre-requisite for the PHP Driver. Can you download the driver from here? Let us know if this still exists and we will work with you to sort it out. Also, feel free to create a new issue, so that we can track it better.
Cheers, Meet
Loading the ODBC Driver now. The link in the error message doesn't make it real clear where to get the file. http://go.microsoft.com/fwlink/?LinkId=163712 Thank you for the link you provided.
That worked great. I can select data from my DB just fine. I will test writes and a few other things tomorrow. Thanks for the hard work :)
Glad it worked out! :+1: :)
Hey there,
had one issue so far with sqlsrv_fetch_array
: you have to define fetchType
or else php crashes.
Otherwise it works great for me.
Is it possible to add it to https://www.microsoft.com/en-us/download/details.aspx?id=20098 ?
It's only in the beta testing phase so I would assume not until it get's past UAT.
@k2viewLTD : We will definitely add it to the download center in the coming months. I am curious to learn what do you prefer, getting the bits from Github or Download Center? @PakL : Issue has been noted and will be investigated. Will let you know if we have any questions.
Cheers, Meet
Could you add the download link https://www.microsoft.com/en-us/download/details.aspx?id=36434 to the required ODBC driver to the error page: http://go.microsoft.com/fwlink/?LinkId=163712 This is the link that's given in the error message when you don't have the ODBC driver installed.
@DigitalSolo Will be done! @PakL Can you share a repro script for the issue you are experiencing?
Cheers, Meet
Thank you
@meet-bhagdev I made some more tests. It only crashes with prepare parameters and undefined fetchType. Here is a snippet of my test https://gist.github.com/PakL/97abbb0767df3f42ba51
This is more of a recommendation/request, rather than an issue.
The Go PHP7 group are looking to make sure that as many extensions as possible are ready for PHP7's release later this year.
Previously the SQL Server driver has been slow to keep up with new releases. Since moving to GitHub there have been a lot of improvements and 5.6 is supported :smile:
It would be really great if SQL Server was supported out of the box when PHP7 is released!
More information about Go PHP7 can be found on their own pages: https://github.com/gophp7/gophp7-ext