Title: Error php_uname() is disabled for security reasons
Last modified: November 21, 2019

---

# Error php_uname() is disabled for security reasons

 *  Resolved [Peter Müller](https://wordpress.org/support/users/pmmueller/)
 * (@pmmueller)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-php_uname/)
 * Hello,
 * after having installed Rank Math I find the WP debug.log (and the server’s Error
   Log) full of messages like this:
 * > PHP Warning: php_uname() has been disabled for security reasons in /home/wp/
   > disk/wordpress/wp-content/plugins/seo-by-rank-math/vendor/rollbar/rollbar/src/
   > Defaults.php on line 66
 * My hoster replied that indeed the function is disabled for security reasons and
   there might be an alternative to [use the environment variable PHP_OS](https://www.php.net/manual/de/function.php-uname.php)
   instead:
 * > For the name of just the operating system, consider using the PHP_OS constant…
 * Would that maybe be an alternative for Rank Math to use?
 * I am probably not the only one with this problem. It has e.g. also been described
   in this (closed) [thread about php_uname()](https://wordpress.org/support/topic/php_uname-and-modify-header-information/)…
    -  This topic was modified 6 years, 6 months ago by [Peter Müller](https://wordpress.org/support/users/pmmueller/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-php_uname%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-php_uname/#post-12165068)
 * Hello [@pmmueller](https://wordpress.org/support/users/pmmueller/)
 * Thank you for contacting the support and sorry for the issue you are facing.
 * Can you please turn off the following option?
    [https://i.rankmath.com/oHCmeb](https://i.rankmath.com/oHCmeb)
 * That should help.
 * Please let us know if does not.

Viewing 1 replies (of 1 total)

The topic ‘Error php_uname() is disabled for security reasons’ is closed to new 
replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

## Tags

 * [php_uname](https://wordpress.org/support/topic-tag/php_uname/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/error-php_uname/#post-12165068)
 * Status: resolved