mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #1431] 🐛 [Bug] Cypht not compatible with PHP 8.4 #653
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#653
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @s22-tech on GitHub (Jan 27, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1431
Originally assigned to: @christer77 on GitHub.
Cypht appears to not be compatible with PHP 8.4. Running the bash script from the install page generated a log of over 7,000 lines, with most entries like the following:
So I dropped the PHP version on the server to 8.13 and it installed without those notices. The only thing that looked a little strange were the following lines:
I've attached the install log from the 8.4 attempt, in case that helps.
Cypht istall log.txt
@marclaporte commented on GitHub (Jan 27, 2025):
@IrAlfred @Baraka24 @Bienvenumoringa @amaninyumu1 @christer77
Who can take this on?
@christer77 commented on GitHub (Jan 28, 2025):
@marclaporte commented on GitHub (Feb 7, 2025):
FYI, deprecated means it still works but there will be issues in the future. The E_STRICT constant will be removed in PHP 9.0.
If an application tries to support a wide range of PHP versions, it can become a little tricky.
Cypht 2.x requires PHP 8.1+ as per our policy: https://github.com/cypht-org/cypht/wiki/Lifecycle
"PHP core and core extensions since PHP 8.0 and later do not emit E_STRICT notices at all. It is safe to assume that any PHP applications that run on PHP 8.0 and later will never encounter E_STRICT notices, and error reporting and handling can be safely updated to ignore E_STRICT notices." Source: https://php.watch/versions/8.4/E_STRICT-deprecated
@marclaporte commented on GitHub (Feb 7, 2025):
wait
One of the warnings is:
Deprecation Notice: Constant E_STRICT is deprecated in phar:///opt/cpanel/composer/bin/composer/src/Composer/Util/Silencer.php:36
This looks like it's supplied by cPanel.
In Tiki Manager, we did this so Tiki Manager would use its own Composer instead of one perhaps supplied by the server: https://gitlab.com/tikiwiki/tiki-manager/-/merge_requests/237
This also reminds me of https://github.com/cypht-org/cypht/issues/1154
@christer77 commented on GitHub (Feb 20, 2025):
https://www.php.net/manual/en/migration84.deprecated.php