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

Provide up-to-date information about PHP and MySQL versions on official nodes #2364

Open
rapotek opened this issue Sep 27, 2022 · 4 comments

Comments

@rapotek
Copy link
Contributor

rapotek commented Sep 27, 2022

I suggest to include information about current PHP and MySQL versions for each official node using opencaching.pl code, somewhere here in github in easily accessible place, wiki maybe, and keep it up-to-date. The information should include a date of the last update for both PHP and MySQL. This would help creating code both compatible with each official node and making use of most recent versions of software.

@deg-pl
Copy link
Member

deg-pl commented Sep 27, 2022

On every node we have webpath /sys . There you can check PHP version (/sys/phpinfo), MySQL/MariaDB version (/Admin.DbUpdate) and PHP-apcu version (/src/Libs/Apc/apc.php). Of course it requies sysAdmin rights.

OC PL code should be compatibile with PHP 7.4+, as declared in composer.json.

OC PL has PHP 8.1.10 and MariaDB 10.6.9
OC UK - PHP 8.1.10, MariaDB 10.6.9
OC NL - PHP 7.4.28, MariaDB 10.0.38
OC US - PHP 7.4.28, MariaDB 10.0.38
OC RO - I have no sysAdmin rights, but there is PHP 7.4.x

PS: My favourite PHP8.1 feature is enum. :)

@rapotek
Copy link
Contributor Author

rapotek commented Sep 27, 2022

On every node we have webpath /sys . There you can check PHP version (/sys/phpinfo), MySQL/MariaDB version (/Admin.DbUpdate) and PHP-apcu version (/src/Libs/Apc/apc.php). Of course it requies sysAdmin rights.

OC PL code should be compatibile with PHP 7.4+, as declared in composer.json.

OC PL has PHP 8.1.10 and MariaDB 10.6.9 OC UK - PHP 8.1.10, MariaDB 10.6.9 OC NL - PHP 7.4.28, MariaDB 10.0.38 OC US - PHP 7.4.28, MariaDB 10.0.38 OC RO - I have no sysAdmin rights, but there is PHP 7.4.x

PS: My favourite PHP8.1 feature is enum. :)

Thanks, @deg. I still insist on include this information in some less ephemeral place than this issue :)

@andrixnet
Copy link
Contributor

OC RO has same versinos as US and NL.
I am considering some upgrades to these servers, however there is much work to be done, so it will take time.

IMO disclosing versions running on a specific site/server is a security breach.

A minimum requirement should be posted here on Github - project documentation and mirrored on www.opencaching.eu
Specific development details, ie. for a specific node that might want to use a specific new plugin (like before the others, or something strictly local) should be obtained through developer and sysadmin contact information.

@deg-pl
Copy link
Member

deg-pl commented Aug 9, 2023

IMO disclosing versions running on a specific site/server is a security breach.

But... opencaching.ro publish PHP version in headers:

Server: Apache/2.4.57 (Unix) OpenSSL/1.0.2u mod_fcgid/2.3.9 PHP/7.4.28

A minimum requirement should be posted here on Github

There is published minimum required version. See composer.json

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

3 participants