Linux 软件免费装
Banner图

Perfbase

开发者 perfbaseorg
更新时间 2026年5月28日 15:11
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

performance woocommerce monitoring profiling apm

下载

1.5.2

详情介绍:

Perfbase profiles WordPress applications and sends performance traces to the Perfbase APM platform. It captures request lifecycle timing, WordPress context, selected metadata, and trace data through the native Perfbase PHP extension and the shared Perfbase PHP SDK. This plugin is a Software-as-a-Service integration. It requires a Perfbase account, a Perfbase API key, and the native ext-perfbase PHP extension. The plugin does not submit traces until profiling is enabled and an API key is configured. The plugin can profile: For privacy and cardinality control, request URLs are stored without query strings. Important WordPress query parameters are stored separately where useful.

安装:

  1. Install the plugin from WordPress.org, or upload the perfbase-<version>.zip asset from GitHub Releases through the WordPress plugins screen.
  2. Install the native Perfbase PHP extension on the server.
  3. Activate the plugin through the Plugins screen in WordPress.
  4. Go to Settings -> Perfbase.
  5. Add your Perfbase API key.
  6. Enable profiling and choose an appropriate sample rate.
Do not use GitHub's automatically generated "Source code" archives for manual WordPress installs. Those archives are source snapshots for developers and do not include production Composer dependencies. Installing the Perfbase extension The plugin requires the native Perfbase PHP extension. This means shell/server access is required, and the plugin is intended for advanced or server-managed WordPress environments. Many shared hosting and restricted managed WordPress environments do not allow custom PHP extensions; in those environments the plugin can be installed, but profiling will not run until the extension is available. Automated installer for supported server environments: bash -c "$(curl -fsSL https://cdn.perfbase.com/install.sh)" The installer performs the same download, checksum, copy, ini-file, and verification steps automatically. Manual extension installation with wget:
  1. Find the PHP major/minor version with php -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;'.
  2. Find the CPU architecture with uname -m. Use amd64 for x86_64, and arm64 for aarch64 or Apple Silicon.
  3. Choose the URL pattern for your server:
Debian/Ubuntu and most glibc Linux distributions: wget https://cdn.perfbase.com/extension/latest/perfbase-8.3-linux-amd64-gnu-release.so wget https://cdn.perfbase.com/extension/latest/perfbase-8.3-linux-amd64-gnu-release.so.sha256sum.txt sha256sum -c perfbase-8.3-linux-amd64-gnu-release.so.sha256sum.txt Alpine Linux: wget https://cdn.perfbase.com/extension/latest/perfbase-8.3-linux-amd64-musl-release.so wget https://cdn.perfbase.com/extension/latest/perfbase-8.3-linux-amd64-musl-release.so.sha256sum.txt sha256sum -c perfbase-8.3-linux-amd64-musl-release.so.sha256sum.txt macOS: wget https://cdn.perfbase.com/extension/latest/perfbase-8.3-darwin-arm64-release.dylib wget https://cdn.perfbase.com/extension/latest/perfbase-8.3-darwin-arm64-release.dylib.sha256sum.txt sha256sum -c perfbase-8.3-darwin-arm64-release.dylib.sha256sum.txt Replace 8.3 with your PHP major/minor version and replace amd64 with arm64 when using ARM64 Linux.
  1. Find PHP's extension directory with php -i | grep '^extension_dir'.
  2. Find the loaded ini scan directories with php --ini.
  3. Copy the extension binary into PHP's extension directory.
  4. Create perfbase.ini in one of the loaded ini scan directories:
extension=perfbase.ext Replace perfbase.ext with the downloaded filename, such as perfbase.so or perfbase.dylib. 8. Restart PHP-FPM, Apache, Nginx Unit, or any long-lived PHP worker. 9. Verify the extension is loaded with php -m | grep perfbase. For a specific pinned build instead of the mutable latest build, replace /extension/latest/ with a versioned path such as /extension/v123/.

升级注意事项:

1.5.2 Tagged Perfbase WordPress plugin release.

常见问题:

Does this plugin work without the Perfbase PHP extension?

No. The admin settings screen remains available and shows a warning, but profiling requires the native ext-perfbase extension.

Does this plugin send data immediately after activation?

No. Profiling is disabled by default. Traces are submitted only after you configure an API key and enable profiling.

Does this plugin require a Perfbase account?

Yes. Perfbase is a SaaS APM platform and trace submission requires a Perfbase API key.

What data is sent to Perfbase?

When enabled, the plugin sends profiling traces and request metadata such as action name, HTTP method, sanitized request URL without query string, HTTP status code, user agent, user IP address, hostname, environment, WordPress version, PHP version, and selected WordPress context. See the External Services section for the full data disclosure. The key distinction is that Perfbase does not collect source code, request bodies, full POST payloads, arbitrary form fields, uploaded file contents, cookie values, PHP session data, or authorization header values.

Can I reduce production overhead?

Yes. Lower the sample rate, disable profiling for admin traffic, and narrow the include and exclude filters.

更新日志:

1.5.2