PHP and Server Settings
Updated 2 July 2026
WordPress runs on PHP. Version, memory limits, and execution time affect plugin compatibility and performance.
This article explains which PHP and server settings matter most for WordPress compatibility, performance, and reliable site operation.
Settings to know
- PHP version: use 8.1 or newer where supported.
- memory_limit: 256M or higher for page builders and WooCommerce.
- max_execution_time: longer values help large imports.
- upload_max_filesize: limits media upload size.
Change these in hosting control panels, .user.ini, or php.ini depending on your host.