Title: PHP Error After Latest Update
Last modified: August 21, 2016

---

# PHP Error After Latest Update

 *  [Company 50](https://wordpress.org/support/users/co50/)
 * (@co50)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/php-error-after-latest-update/)
 * Trying to run the plugin, which worked fine before latest update, now produces
   a PHP error:
 * Fatal error: Call to undefined function apache_get_version() in […]/wp-content/
   plugins/mywebtonet-performancestats/mywebtonet-performancestats.php on line 317
 * [http://wordpress.org/plugins/mywebtonet-performancestats/](http://wordpress.org/plugins/mywebtonet-performancestats/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [I](https://wordpress.org/support/users/iahmed-1/)
 * (@iahmed-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-after-latest-update/#post-4498594)
 * I’m assuming your hosting configuration uses PHP as FastCGI/CGI. The version 
   of Apache has no significance in the plugin other than to tell you what version
   you have so until the developer fixes it, you can edit line 317:
 * From:
    `$apacheversion = apache_get_version();`
 * To:
    `$apacheversion = 'Apache';`
 * The developer should change this line to:
    `$apacheversion = (function_exists('
   apache_get_version')) ? apache_get_version() : '';`
 *  Plugin Author [mywebtonet](https://wordpress.org/support/users/mywebtonet/)
 * (@mywebtonet)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-after-latest-update/#post-4498595)
 * Hi guys
 * Sorry about that, can we ask you to test again, just release 1.1.1, best you 
   can do is to remove the old plugin and reinstall, then you will get the latest
   one.
 * Rgds

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Error After Latest Update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mywebtonet-performancestats.svg)
 * [PHP/MySQL CPU performance statistics](https://wordpress.org/plugins/mywebtonet-performancestats/)
 * [Support Threads](https://wordpress.org/support/plugin/mywebtonet-performancestats/)
 * [Active Topics](https://wordpress.org/support/plugin/mywebtonet-performancestats/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mywebtonet-performancestats/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mywebtonet-performancestats/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [mywebtonet](https://wordpress.org/support/users/mywebtonet/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-after-latest-update/#post-4498595)
 * Status: not resolved