Comments (14)
The new release should be ready by the end of this week.
from msphpsql.
Hi, I'll be working on the hotfix release.
from msphpsql.
Had a discussion with the team the other day. We'll release a hotfix to accommodate the behavior change made upstream. The original fix needs some adjustment, though. We only release PHP minor-version-specific binaries, so the compile time #if logic needs adjustment. @absci is working on the release.
from msphpsql.
Hi,
Is this hotfix available yet? If not, what is the timescale?
How do we install it?
Thanks,
Stephen
from msphpsql.
Thank you for releasing the hotfix!
Thank you for taking the time out of your busy schedule.
I close this issue.
from msphpsql.
@David-Engel
I've opened an issue, so please respond here.
We've been left alone for about a week, so I'm hoping for some response soon.
from msphpsql.
@absci
Thank you. This is truly great news.
from msphpsql.
removing the ATTR_STRINGIFY_FETCHES attribute
That should work for you, too, since that's the source of the issue being fixed. 👍
from msphpsql.
@David-Engel Upstream(php-src) rejected to your opinion and we should fight to Microsoft pressure. You should release new version that include this PR.
related: php/php-src#12038
from msphpsql.
@David-Engel
I understand the situation. Thank you very much for your efforts in implementing the hotfix.
I am very relieved to receive this news.
We are looking forward to the release.
from msphpsql.
@absci
@David-Engel
Thanks very much for moving forward and I'm sorry to using strong words.
from msphpsql.
I see 5.11.1 has been released to fix this.
Will there also be a 5.10.x release that resolves this issue? My company is unfortunately stuck on SQL Server 2012 so I cannot use 5.11.x.
from msphpsql.
Will there also be a 5.10.x release that resolves this issue? My company is unfortunately stuck on SQL Server 2012 so I cannot use 5.11.x.
There are no plans to backport the change to 5.10.
Have you tried 5.11 against SQL Server 2012? Since most of the functionality is in the underlying ODBC driver and we haven't made significant changes from 5.10 to 5.11, I would be surprised if 5.11 didn't work fine against it. I realize 5.11 doesn't technically "support" SQL 2012, but that's mainly because we stop testing against SQL versions that are out of support.
from msphpsql.
@David-Engel Thanks for the response. I have not tried 5.11. I will give it a try in one of our test environments.
One thing I did try this morning was removing the ATTR_STRINGIFY_FETCHES attribute:
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
//$dbh->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
$dbh->setAttribute(PDO::SQLSRV_ATTR_FETCHES_NUMERIC_TYPE, true);
$dbh->setAttribute(PDO::SQLSRV_ATTR_QUERY_TIMEOUT, 60);
We'd been using the first two lines since we used MySQL/MariaDB, prior to moving to SQL Server about 5 years ago, so I never thought to revisit these attributes as they just worked.
Without the ATTR_STRINGIFY_FETCHES, I don't see any negative affects. Seems the SQLSRV_ATTR_FETCHES_NUMERIC_TYPE attribute handles what we need.
from msphpsql.
Related Issues (20)
- SSL routines::unsupported protocol HOT 2
- can't connect to database with sqlsrv HOT 1
- SEGMENTATION FAULT when using array with keys HOT 3
- Fatal error: Invalid column number in pdo_sqlsrv_stmt_get_col_data HOT 2
- XAMPP on Debian 12 Cant Load Module HOT 7
- PHP 8.0.30 build error: conflicting declaration 'typedef windowsULong_t DWORD' HOT 2
- symbol not found in flat namespace '_SQLAllocHandle' HOT 27
- PECL is missing DLLs for 5.11 HOT 1
- Release beta with support for PHP 8.3 RC 1 HOT 20
- TrustServerCertificate no longer working in v5.11.1 HOT 9
- SQLSTATE[HY000]: [Microsoft][ODBC Driver 18 for SQL Server]Unicode conversion failed HOT 14
- CentOS9 SQL Server 2014 connect failed. Microsoft ODBC Driver 18 for SQL Server : TCP Provider: Error code 0x2746. HOT 6
- Cakephp2 Application takes longer time to fetch data from sql server database resulting php memory error HOT 3
- Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server HOT 1
- Memory leak in Microsoft ODBC Driver 17.10.5 for SQL Server HOT 4
- HY104 Invalid precision value when reusing prepared statement HOT 4
- SQLSTATE[01002] Adaptive Server connection failed (xxx.xx.xx.xxx) HOT 1
- Issue connecting to SQL server from Openshift HOT 1
- Unable to build version 5.12.0beta1 on Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msphpsql.