Skip to content
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

PDOSqlsrv Connection not compatible with PHP 5.3 - 5.4 #2683

Closed
nirix opened this issue Mar 22, 2017 · 9 comments
Closed

PDOSqlsrv Connection not compatible with PHP 5.3 - 5.4 #2683

nirix opened this issue Mar 22, 2017 · 9 comments

Comments

@nirix
Copy link

nirix commented Mar 22, 2017

The DBAL versions 2.5.11 and 2.5.12 can be installed with PHP 5.3 and 5.4, however the PDOSqlsrv Connection class uses ::class to resolve a class name which is only available to PHP >=5.5

We've had to fix our DBAL package version to 2.5.10 until we're ready to move off PHP 5.4.

@Ocramius
Copy link
Member

Ocramius commented Mar 22, 2017 via email

@IMSoP
Copy link

IMSoP commented Mar 28, 2018

I believe master is now the 3.x release, so doesn't support old PHPs anyway. I have raised a PR against 2.5 here: #3073

Will it also need applying to 2.6?

@Ocramius
Copy link
Member

Closing here: we no longer support PHP 5.3 and PHP 5.4.

@IMSoP
Copy link

IMSoP commented Mar 28, 2018

@Ocramius Can you clarify regarding support?

Reading more carefully, I see that 2.6, not 3.0, is the first release to require PHP 7.1, so this fix is definitely not needed there.

However, is the 2.5 branch completely unsupported, or should bugs be raised differently, or do new minimum PHP requirements apply?

@Ocramius
Copy link
Member

@IMSoP #3073 will likely be merged and fixed, since the screw-up is on our side, but otherwise 2.5.x will only receive security fixes.

@IMSoP
Copy link

IMSoP commented Mar 28, 2018

OK, that makes sense.

@Majkl578
Copy link
Contributor

I believe master is now the 3.x release

Not just yet.

Master represents upcoming 2.7 and requires PHP 7.1.
Develop is currently upcoming 3.0 and requires PHP 7.2, will be merged into master once 2.7 is released.

@IMSoP
Copy link

IMSoP commented Mar 28, 2018

@Majkl578 Yeah, I misread something when I was flicking through branches.

IMSoP added a commit to IMSoP/dbal that referenced this issue Mar 28, 2018
@Ocramius Ocramius added this to the 2.5.14 milestone Apr 2, 2018
@morozov morozov removed this from the 2.5.14 milestone Aug 16, 2018
@github-actions
Copy link

github-actions bot commented Aug 1, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants