PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
21 Jul 2026

Pull Request resolves #48119.

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Check if php_uname function exists before calling it.
Enhance server OS detection with fallback when php_uname() is not allowed

Testing Instructions

have an enviroment with php_uname listed as disabled

Actual result BEFORE applying this Pull Request

Call to undefined function

Expected result AFTER applying this Pull Request

even if php_uname is disabled it gracefully have a fallback

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 21 Jul 2026
avatar alikon alikon - change - 21 Jul 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jul 2026
Category Administration com_admin
avatar alikon alikon - change - 21 Jul 2026
Labels Added: PR-5.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jul 2026
Category Administration com_admin Administration com_admin Modules Front End
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jul 2026
Category Administration com_admin Modules Front End Administration com_admin Modules Front End Plugins
avatar alikon alikon - change - 21 Jul 2026
The description was changed
avatar alikon alikon - edited - 21 Jul 2026
avatar alikon alikon - change - 22 Jul 2026
Title
Safeguard php_uname function call
[5.4] Safeguard php_uname function call
avatar alikon alikon - edited - 22 Jul 2026

Add a Comment

Login with GitHub to post a comment