Closed gregrobson closed 5 years ago
@ jadrovski: I referenced this issue here for about 9 days. So i hope there is a solution in the next weeks... But it seems that the frameworks doesn't test and doesn't have a suiteable test environment for the combination php7 and sqlserver, because of the recent release of the driver....I would expect, that other framework got the same problems... If you have any result from the Yii2-Framework, that's a driver issue, please let us know :)
@Der-V, looks like its not a framework problem. Its probably somewhere in PDOStatement class.
@sdh100shaun : We are working actively on the Linux version. Will keep you posted with regards to dates over the next few week. @Der-V and @jadrovski : We will investigate this!
Hey, I only wanted du ask if there are any news concerning the possible bug? Currently i'm still not able to use the lastest version because of that problem. That's why I wanted to ask friendly if there are any news :) or if you could guess when it could be possible that i can receive a solution? Thank's for your response
I'm using Apache 2.4 with php 7.0.6, both MSVC14 x64 and runing under windows 7 x64. On my main website when I make a select statement which return a large amout of data, php-cgi.exe dies when I'm under fcgid mod and Apache.exe dies when I'm in mod_php.
Apache log : [fcgid:warn] [pid 8928:tid 1440](OS 109)The pipe has been ended. : [client ::1:53113] mod_fcgid: get overlap result error [core:error] [pid 8928:tid 1440] [client ::1:53113] End of script output before headers: app.php
Windows event log : Nom de l’application défaillante php-cgi.exe, version : 7.0.6.0, horodatage : 0x57227745 Nom du module défaillant : php7ts.dll, version : 7.0.6.0, horodatage : 0x57227f4d Code d’exception : 0xc00000fd Décalage d’erreur : 0x00000000001c34b4 ID du processus défaillant : 0x7bc Heure de début de l’application défaillante : 0x01d1a9bbab5fe0a8 Chemin d’accès de l’application défaillante : C:\php\php-cgi.exe Chemin d’accès du module défaillant: C:\php\php7ts.dll ID de rapport : eb955272-15ae-11e6-b84b-08002700e8d1
@Der-V @jadrovski : I have created a new bug for better tracking the issue with Booleans - https://github.com/Azure/msphpsql/issues/93 @christophe77 : I have a created a new bug for better tracking the issue of php-cgi crashing https://github.com/Azure/msphpsql/issues/94
@meet-bhagdev Hello , do you guys have any updates on the linux version? Thanks a lot for working on this
@ValentinStefanescu : We are almost done with ironing out all the kinks and unknowns for the Linux driver. We will have a date to share with you very soon! What kind of timeline are you targeting? Thanks, Meet
I am tied up on other projects for the next month but would like to start testing asap after then.
@meet-bhagdev Thank you for your answer, that sounds great! If it would be functional on linux in something like one month would be amazing. Thank again, Vali
@ValentinStefanescu Thanks, We still do not have a date but I plan to share one out as soon as possible! Will keep you posted. Do keep in mind that this is the first time we are releasing the driver on Linux thus it will be and early preview.
Dear @meet-bhagdev , Since brand new SQL Server 2016 released yesterday, any news on the RTM release of the new drivers?
Hello @mlhkr We are targeting the RTM release for the PDO_SQLSRV and SQLSRV (64bit and 32bit) drivers for Windows in the next 4-6 weeks. Should this date change, I will keep everyone here posted.
@all if you have feedback/issues/questions about the preview bits that we have released, please let us know as soon as possible. We will try to address it before our release.
Let me know if you have any questions. I appreciate everyone's inputs. We are almost there :)
Thanks, Meet
@meet-bhagdev Any plans on dealing with broken prepared statements and type binding in client buffered queries?
https://github.com/Azure/msphpsql/issues/92 https://github.com/Azure/msphpsql/issues/71 https://github.com/Azure/msphpsql/issues/63
I'd love to hear a statement on this, we are completely holding back on any real D8 projects, I hoped some of these might get fixed for PHP7 and your increasing effort in this driver. Management has been pushing for a long time to completely move to LAMP stack. Thanks to --E from the IIS team we managed to solved the PHP on IIS issues and that has helped hold off the move for a while, but the inability to properly work with floats/decimals is a complete show stopper.
Very glad to see the Linux version is on the horizon at least.
@david-garcia-garcia We are looking into the issues with broken prepared statements and type binding in client buffered queries. Of the three issues you mentioned which one would you like us to prioritize? These bug fixes will likely land in one of out 3-week releases post our June release.
The most critical issue is broken type binding in client buffered queries:
https://github.com/Azure/msphpsql/issues/71
I expect data returned by statements to be exactly the same, wether I use client buffered queries or not.
Broken prepared statements has a "contained" impact because I just use them as a workaround for two situations of the MSSQL PDO Driver:
That means that I can turn off completely usage of prepared statements and pray that none of the situations above takes place. But fixing prepared statements won't harm.
BTW, deep thanks for your work on this driver. Hope this results in increased adoption of the WIMP stack.
This realease will be compatible with PHP 7.1? and ODBC 13?
@david-garcia-garcia : Sounds good! We will prioritize accordingly :+1: @sirio3mil : The latest release is compatible PHP 7.0.7 and ODBC 13. Once PHP 7.1 is released, we will certainly support it :+1:
@all We are excited to announce the Release Candidate for the PHP Driver 4.0 for SQL Server. Major emphasis of this release was to add ODBC 13 support and bug fixes:
You can fetch the binaries from here. Also check out the updated README file here
Let us know if you have any questions. SQL Server Engineering Team
Thanks @meet-bhagdev, tested and work fine, it detect automaticly ODBC 13 and use it.
@meet-bhagdev where is the source code for these? The PHP-7.0-Linux branch contains no source at all, and you haven't checked the files required for the PHP build system in to the PHP-7.0 branch either...
@meet-bhagdev any update about 2100 parameters limit that @david-garcia-garcia mention ? MySQL has ~65,000 and Oracle ~64,000
@LukeCarrier We will very soon be updating the code to the Linux branch. Just cleaning up a couple of things and getting the appropriate build instructions documented. Also what are the build files you are looking for? The config.w32 files are in the PHP7 branch. @aymanstar Just so that I understand you are talking about the limit set by SQL Server that only allows a max of 2100 parameters per query. Correct?
@meet-bhagdev the config.w32 files are specifically for the Windows build system -- I need the config.m4 files to build under Linux. Would it not make more sense to release the work in progress source to foster collaboration?
@LukeCarrier Definitely agreed! Give us a few days and we will have the required config files along with proper build instructions and the source code for Linux added to the repository. Look forward to collaborating with you :)
@All we recently release a production ready build of the PHP Driver 4.0 for SQL Server with PHP 7 support for Windows. You can fetch the latest binaries from:
You can find the detailed release notes here. We will continue to keep improving the driver by making bug fixes for issues reported on GitHub (for eg #92 ,#97, #93 , #71, #63) and adding new features. We will try to do a release every 3-4 weeks. Can you please take this survey to help us guide our priorities going forward? Make sure your voice is heard :)
Thanks, SQL Server Engineering Team
@meet-bhagdev Just tried out the production ready release for our PHP 7 app. Works great. Really enjoying the perf gains. Thank you for you are your teams dedication. Keep releasing and we happy to help out as and when needed. I have also taken the survey. Hope it helps you out.
@meet-bhagdev Any prediction when sqlsrv and pdo_sqlsrv will be part of webapps when switching PHP verision to v7.0? As of now, drivers are not yet compiled there by default.
@renecatharsis Should be very soon. I will connect with the engineer working on this and try to get a date by when you can expect it to land.
@meet-bhagdev Any update on the release schedule? The extensions are not yet compiled into the PHP7 runtime on webapps.
@renecatharsis Deployment has started rolling out. Can you check now?
@all we released new previous for Windows and Linux. Find them below: https://github.com/Microsoft/msphpsql/releases/tag/4.0.4-Linux https://github.com/Microsoft/msphpsql/releases/tag/4.1.2-Windows
If you have any questions, do let us know.
Thanks, Meet
Drivers are pre-compiled now, thanks a lot. Will do some testing.
Hi all, the April survey is now up: https://www.surveymonkey.com/r/QBMNPH9. Please take this survey to help us improve our efforts with the driver.
Hi folks, do you guys know where can I find a good resource to teach me how can I connect my SQl Server to my Wamp ( Server ) ?
What you download and install depends on what version of PHP you're using. A decent start is: https://docs.microsoft.com/en-us/sql/connect/php/loading-the-php-sql-driver?view=sql-server-2017
https://github.com/Microsoft/msphpsql/releases
Microsoft's ODBC drivers: https://www.microsoft.com/en-us/download/details.aspx?id=53339
Kind of off the top of my head.
Closing due to inactivity. Please reopen if necessary, but create new issues for distinct feature requests.
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