| Setting | Current Value | Recommended | Status |
|---|---|---|---|
| memory_limit | 128M | 512M | ✗ Too Low |
| max_execution_time | 30 | 120 | ✗ Too Low |
| post_max_size | 80M | 64M | ✓ OK |
| upload_max_filesize | 20M | 64M | ✗ Too Low |
Create or edit .htaccess file in your web root:
php_value memory_limit 512M php_value max_execution_time 120 php_value post_max_size 64M php_value upload_max_filesize 64M
The code already tries to set these values:
ini_set('memory_limit', '512M');
set_time_limit(120);
✓ This is already in php/members.php and php/models/Member.php
Find your php.ini file location:
php -i | grep php.ini
Or check: /opt/cpanel/ea-php74/root/etc/php.ini
Edit these lines in php.ini:
memory_limit = 512M max_execution_time = 120 post_max_size = 64M upload_max_filesize = 64M
Then restart Apache/PHP-FPM
memory_limit = 512M max_execution_time = 120
After making changes, run the diagnostic again:
| Setting | Result | New Value |
|---|---|---|
| memory_limit | ✓ Set | 512M |
| max_execution_time | ✓ Set | 120 |