-
-
Recommended PHP Configuration Limits not taking affect. Currently using these limits below in the config. file. The limits are clearly higher then the system status is showing me. Any ideas?
define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);
define(‘EMPTY_TRASH_DAYS’, 7 );
define(‘WP_POST_REVISIONS’, 5);
define(‘WP_MEMORY_LIMIT’, ‘128M’ );
define(‘max_execution_time’, ‘200’ );
define(‘upload_max_filesize’ , ’32M’ );
define(‘post_max_size’ , ’32M’ );
define(‘max_execution_time’ , ‘300’ );
<table id=”status” class=”codeless_status_table widefat” style=”border-spacing: 0px; width: 1047.64697265625px; clear: both; margin: 0px; border: 1px solid #e5e5e5; box-shadow: rgba(0, 0, 0, 0.0392157) 0px 1px 1px; caret-color: #444444; color: #444444; font-family: -apple-system, BlinkMacSystemFont, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 15px;” cellspacing=”0″>
<tbody style=”word-wrap: break-word;”>
<tr style=”word-wrap: break-word;”>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;” data-export-label=”PHP Post Max Size”>PHP Post Max Size:</td>
<td class=”help” style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>[?]</td>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>8 MB</td>
</tr>
<tr style=”word-wrap: break-word;”>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;” data-export-label=”PHP Time Limit”>PHP Time Limit:</td>
<td class=”help” style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>[?]</td>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”><mark class=”error” style=”word-wrap: break-word;”>0 – We recommend setting max execution time to at least 180. <br style=”word-wrap: break-word;” />To import classic demo content, <span style=”font-weight: 600; word-wrap: break-word;”>300</span> seconds of max execution time is required.<br style=”word-wrap: break-word;” />See: Increasing max execution to PHP</mark></td>
</tr>
<tr style=”word-wrap: break-word;”>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;” data-export-label=”PHP Max Input Vars”>PHP Max Input Vars:</td>
<td class=”help” style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>[?]</td>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”><mark class=”error” style=”word-wrap: break-word;”>1000 – Recommended Value: 1728. Max input vars limitation will truncate POST <br style=”word-wrap: break-word;” />data such as menus. Increasing max input vars limit.</mark></td>
</tr>
<tr style=”word-wrap: break-word;”>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;” data-export-label=”PHP Display Errors”>PHP Display Errors:</td>
<td class=”help” style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>[?]</td>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”><mark class=”no” style=”word-wrap: break-word;”>–</mark></td>
</tr>
<tr style=”word-wrap: break-word;”>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;” data-export-label=”SUHOSIN Installed”>SUHOSIN Installed:</td>
<td class=”help” style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>[?]</td>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”><mark class=”no” style=”word-wrap: break-word;”>–</mark></td>
</tr>
<tr style=”word-wrap: break-word;”>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;” data-export-label=”MySQL Version”>MySQL Version:</td>
<td class=”help” style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>[?]</td>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>5.5.5</td>
</tr>
<tr style=”word-wrap: break-word;”>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;” data-export-label=”Max Upload Size”>Max Upload Size:</td>
<td class=”help” style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”>[?]</td>
<td style=”font-size: 13px; line-height: 1.5em; word-wrap: break-word; padding: 8px 10px; vertical-align: top; color: #555555;”><mark class=”yes” style=”word-wrap: break-word;”>8 MB – Recommended Value: 10M. Max Upload Size need to be at least 10M </mark></td>
</tr>
</tbody>
</table> -
Hello,
Normally the System Status works ok on different hosting providers.
Adding this constants on wp-config don’t mean that you can change the hosting variables. Most hosting providers don’t let you to change the hosting variables from the shared hosting account with php config files.
Regards!
-
You must be logged in to reply to this topic.