Minimum Requirements
AdminLocks performs a preflight check on activation and will display a clear error message if any of the following minimum requirements are not met.
| Component | Minimum Version |
|---|---|
| WordPress | 6.0+ |
| PHP | 7.4+ |
| MySQL | 5.7+ |
| MariaDB (alternative) | 10.3+ |
PHP 7.4 reached end-of-life in November 2022. While AdminLocks supports it as a minimum, we strongly recommend upgrading to PHP 8.1 or later for security patches, performance improvements, and full compatibility with future AdminLocks releases.
Recommended Configuration
For the best performance, security, and access to all AdminLocks features, we recommend the following environment:
| Component | Recommended |
|---|---|
| WordPress | 6.4+ |
| PHP | 8.1+ |
| MySQL | 8.0+ |
| PHP Memory Limit | 256 MB |
Running the recommended stack ensures optimal query performance for the audit log, reliable JSON column support for policy storage, and compatibility with the AdminLocks Cloud sync features.
Database Requirements
AdminLocks creates four custom database tables during activation using the WordPress dbDelta() function. Your database user must have the CREATE TABLE privilege for this to succeed.
| Table Name | Purpose |
|---|---|
adminlocks_audit_log |
Stores all audit log events including user actions, timestamps, IP addresses, and event metadata. |
adminlocks_policies |
Holds policy definitions, rule sets, and role-based permission overrides. |
adminlocks_approvals |
Tracks pending, approved, and rejected approval workflow requests. |
adminlocks_snapshots |
Contains point-in-time snapshots of site configuration for change tracking and rollback. |
All tables use the InnoDB storage engine for transaction safety and row-level locking. Table names are prefixed with your WordPress table prefix (e.g., wp_adminlocks_audit_log).
If table creation fails during activation, navigate to AdminLocks → Settings → Debug and click Repair Tables to retry. This runs the same dbDelta() calls and will report any SQL errors.
Browser Support
The AdminLocks settings UI in wp-admin uses a React-based interface. The following browsers are supported:
- Chrome 90+
- Firefox 90+
- Safari 15+
- Edge 90+
Older browsers may render the settings pages with degraded styling or missing interactive features. The plugin's core functionality (policies, audit logging, menu restrictions) works server-side and is not affected by browser version.
Cloud Requirements
If you plan to connect your site to AdminLocks Cloud for centralized management, the following additional requirements apply:
- Outbound HTTPS: Your server must be able to make outbound HTTPS requests to
cloud.adminlocks.comon port 443. Some restrictive firewalls or hosting environments block outbound connections by default. - Valid API Key: You need an active API key generated from your Cloud dashboard at cloud.adminlocks.com.
- WP-Cron Enabled: AdminLocks uses WP-Cron to send heartbeat pings and batch-sync audit log events to the Cloud every five minutes. If WP-Cron is disabled, configure a real server-side cron job to call
wp-cron.phpat regular intervals.
You can verify outbound connectivity by navigating to AdminLocks → Settings → Cloud and clicking Test Connection. The plugin will attempt an HTTPS handshake with the Cloud server and report the result.