Documentation Getting Started WP Statistics Requirements

WP Statistics Requirements

WP Statistics requires a few things to work:

  • WordPress 5.0 or above
  • PHP 5.6 or above
  • MySQL 5.0 or above
  • REST API enabled

WP Statistics might work on older versions as well, but it is always better to make sure you have updated everything.

NOTE: WP Statistics does NOT function on any PHP version that’s older than 5.6.

GeoIP Support

The GeoIP support also requires a few additional items to function:

  • The cURL extension for PHP
  • PHP cannot be running in safe mode

Memory Requirements

WP Statistics requires a significant amount of RAM for the statistics pages, especially the overview page. Make sure to set your PHP memory limit high enough to support it. While every site has different memory requirements, a reasonable rule of thumb is at least 36 MB, and significantly higher is not unreasonable (128-256 MB).

REST API Support

For using the REST API with WP Statistics, the following additional requirements are necessary:

  • Pretty permalinks enabled (Settings – Permalinks)
  • The wp-json endpoint is accessible (e.g., https://your-site.com/wp-json/)

The REST API provides developers with the ability to interact with WP Statistics data programmatically, enabling custom integrations and enhanced functionality.