msphpsql
msphpsql copied to clipboard
PHP 8.4 support
The last PHP 8.4 beta has been released before the upcoming release candidates. The planned release date is Nov 21 2024. Is there a plan for adding PHP 8.4 support?
I think a lot of people will be happy if the first beta for the driver will be out in October like mentioned in https://github.com/microsoft/msphpsql/issues/1477#issuecomment-1848002475 :)
The current version already builds against PHP 8.4 :). I'll test it next week.
Hopefully a beta driver for PHP 8.4 can be released soon - I'd like to be able to test our apps with the PHP 8.4 release candidate.
Hopefully a beta driver for PHP 8.4 can be released soon - I'd like to be able to test our apps with the PHP 8.4 release candidate.
You can build the current release version against PHP 8.4. I tried to test it properly last week, but there are a couple of packages missing from OndΕej SurΓ½'s PPA that the internal Docker image I manage needs.
Edit: I've only tested building pdo_sqlsrv.
The stable release of PHP 8.4 is in just two days, on November 21st. Will there be an updated SQLSRV driver to officially support it?
I was able to test it now. 5.12.0 (pdo_sqlsrv) seems to be working with PHP 8.4.
Edit: I don't recommend using it in a production environment before official support has been announced.
How long do we have to wait?
Yes this is, please provide ETD, this is our last ext we need to migrate for testing and Production, i hope before Happy new year??? ;)
I was able to test it now. 5.12.0 (pdo_sqlsrv) seems to be working with PHP 8.4.
Edit: I don't recommend using it in a production environment before official support has been announced.
While waiting for official support, the current version 5.12.0 is also working for me, compiled with 8.4.1-3 (November 25, 2024) on Ubuntu 24.04π
While waiting for official support, the current version 5.12.0 is also working for me, compiled with 8.4.1-3 (November 25, 2024) on Ubuntu 24.04π
Yeah under Linux it seems to be working, but small parts are still working under Windows atm, and that drivers does block :(
I hope soon on beta release or new version release, its become headache to manage different project on different PHP version....
Any update on this? Not able to get the driver working on Windows for php 8.4.1 with the error "PHP Warning: PHP Startup: pdo_sqlsrv: Unable to initialize module"
Come on Microsoft - we are waiting... push that "compile" button already
Hi u know for those who cant wait.under pecl, the windows dll files for 8.4 are already compiled and are working under windows pecl drivers 8.4 windows
Good for testing but i also hope soon for microsoft release @yitam π
Hi u know for those who cant wait.under pecl, the windows dll files for 8.4 are already compiled and are working under windows pecl drivers 8.4 windows
Good for testing but i also hope soon for microsoft release @yitam π
That's brilliant - I still can't believe that it was released a year ago
The PDO driver is also compiled for PHP 8.4 on PECL: https://pecl.php.net/package/pdo_sqlsrv/5.12.0/windows
I mentioned about this in #1477. You can plan ahead to include support for the next PHP version.
I guess November didn't happen @absci π
I mentioned about this in #1477. You can plan ahead to include support for the next PHP version.
I guess November didn't happen @absci π
Hi, I'm no longer maintaining this project. There should be a new maintainer going forward, I just don't know the details.
So what has gone so wrong that the initial plan of releasing around the same time did not happen? And when to expect a release now?
Made a post below about this if anyone wants to add their support there, this was where the MS open source account on x.com suggested I post my inquiry.
https://learn.microsoft.com/en-us/answers/questions/2200850/updates-to-microsoft-drivers-for-php-for-microsoft
Hi All,
MS has not abandoned PHP. We are going through some transitions internally, which has delayed things. I don't have an exact timeline for the next PHP driver release, but it's likely at least a couple quarters out.
Feel free to @ me with direct feedback. Having customer voices allows me to easily bubble those up internally to ensure appropriate prioritization of resources.
@David-Engel It's already been nearly 4 months since PHP 8.4 was released. Two more quarters would require users to wait 10 months before they can use the latest version of PHP, by which time PHP 8.5 will already be in release candidate stage.
Is there any way to reduce the time it takes for this extension to support the current PHP version?
@theodorejb Thanks. I understand the timelines and implications with alignment to PHP releases. I've communicated this internally and can't get a clearer timeline or promise anything more specific. I will keep advocating for it, though.
Regards, David
Hi All,
MS has not abandoned PHP. We are going through some transitions internally, which has delayed things. I don't have an exact timeline for the next PHP driver release, but it's likely at least a couple quarters out.
Feel free to @ me with direct feedback. Having customer voices allows me to easily bubble those up internally to ensure appropriate prioritization of resources.
It is holding me updating a couple of clients PHP version because I tried the mentioned hacks etc but they did not work and had to roll back.
In the conversations seems it's not a lot of work to publish a new one. Until it is I can't not push forward. It has been months now and then the next PHP release will probably be out and we wait again.
As PHP is one of the most used frameworks and SQL Server one of the most used databases i hope this gets more visibility and the attention it deserves.
It's holding us back from updating and staying current with the PHP releases.
Hello! Just another team here locked in PHP83 due to lack of PHP84 msphpsql driver We are eagerly waiting for it
Hello, same here.
I'm very much looking forward to Microsoft addressing the needs of their paying customers. The recurring issue of driver availability once again fuels the arguments of those advocating for a migration to PostgreSQL in our organisation.
@David-Engel if it helps let us know if we should contact someone directly. Thank you for your efforts.
Hi guys, same here. It's the 6th guy needing the update today :D
Thanks @David-Engel for your work, i just hope it'll help.
We have the same situation. Having a huge number of SQL Server databases, we are unable to upgrade our projects to PHP 8.4. Thanks @David-Engel for advocating for this topic.
Hi all, another company here waiting eagerly. I hope this helps showing priority.
@David-Engel Thanks for the update! At least, there's hope.
"a couple quarters out" seems long, though.
Hi All,
MS has not abandoned PHP. We are going through some transitions internally, which has delayed things. I don't have an exact timeline for the next PHP driver release, but it's likely at least a couple quarters out.
Feel free to @ me with direct feedback. Having customer voices allows me to easily bubble those up internally to ensure appropriate prioritization of resources.
I hope you are planning ahead. PHP 8.5 will be released at the end of the year.