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

php 8.4: Constant E_STRICT is deprecated #6301

Open
tenzap opened this issue Sep 29, 2024 · 2 comments
Open

php 8.4: Constant E_STRICT is deprecated #6301

tenzap opened this issue Sep 29, 2024 · 2 comments

Comments

@tenzap
Copy link
Contributor

tenzap commented Sep 29, 2024

I was trying to use CI3 with PHP8.4.
I'm facing this error:

Deprecated: Constant E_STRICT is deprecated in .../vendor/codeigniter/framework/system/core/Exceptions.php on line 76
A PHP Error was encountered

Severity: 8192

Message: Constant E_STRICT is deprecated

Filename: core/Exceptions.php

Line Number: 76

@tenzap
Copy link
Contributor Author

tenzap commented Nov 1, 2024

Since you often use different versions of PHP
You can try using the Servbay tool, which supports PHP8.4beta, without worrying about environmental pollution.

@corrosive4354 thanks for the "tip"... Since I maintain the ci3 package in Debian, I'd prefer to use pure debian packages to switch between php versions. They are provided by debian's php maintainer on his specific repo at https://deb.sury.org/. This ensures pure debian experience and not messing my system up with any sort of other packages not integrating well into debian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@tenzap and others