Budget-friendly, full-performance, fully equipped servers in any desired location.
ExploreBudget-friendly, full-performance, fully equipped servers in any desired location.
ExploreFor PHP error solutions, instead of first trying to display the error openly to visitors, note when it occurred and inspect the relevant error log. This guide explains the safe process to follow when white screens and 500 errors appear after a PHP version, plugin, or theme change, both on shared hosting panels and on servers with administrator access. Save the current setting before making changes and, if possible, back up the files and database.
If you use shared hosting, your access is generally limited to the PHP version selector, error logs, file manager, and the application’s own administration screen in the hosting panel. On an administrator-managed server, you can access service logs, the status of PHP-FPM or a similar process manager, and the server configuration. The settings for these two environments are not located in the same place; therefore, searching for a solution that applies to an administrator-managed server in a random panel menu wastes time.
The scope of the error is also important for the first decision. If only one administration screen or a specific page fails to open, the plugin, theme, or application code changed most recently is the primary suspect. If all of the site’s PHP pages return 500 at the same time, the PHP version, process manager, memory limit, or general configuration is more likely to be responsible. Examine one variable accordingly; increasing all limits at once hides which setting had an effect.
First record the failed URL, the approximate time, and the operation. Then open the site’s error log in the hosting panel, or the relevant PHP application and web server logs on an administrator-managed server. Search for new entries in the same time range; do not treat an old fatal error line as proof of the current error. If the log contains an entry in a specific plugin or theme file saying “class not found,” “undefined call,” or indicating version incompatibility, the correction should be to make that component’s version compatible or to undo the latest change.
If the log shows a write-permission error, do not change permissions throughout the site. Compare the ownership of the specific directory that the application needs to write to with the runtime user defined in the panel, together with your administrator; on shared hosting, correct the relevant file or folder to the provider’s recommended default. If the log indicates a memory limit, check only the PHP memory setting that the long-running operation or application genuinely needs. If the same event produces neither a permission record nor a memory record, do not treat one problem as evidence of the other.
For example, suppose that in a hypothetical store, only the page used by the payment plugin shows a white screen after the PHP version is upgraded, and the log records an “undefined function” entry in a specific plugin. This finding calls for checking the plugin’s compatibility with the new PHP version, not increasing the memory limit. If the other pages open when the plugin is temporarily disabled, updating the plugin or temporarily returning to a compatible PHP version is reasonable. If the same test instead produced a memory-limit entry in the log, the decision would shift to examining only the relevant memory setting and the operation’s actual needs.
If the error appears only in the administration screen while public pages work, an administration plugin or the execution time of the administration request is more likely. In contrast, if all pages return 500 and the log shows that the PHP worker process could not be started, PHP-FPM, pool settings, or the server configuration should be examined by an administrator rather than changing a plugin. This distinction prevents you from trying to change a server setting for which you do not have authority.
If the same symptom remains after one change, restore the previous setting, preserve the logs from the time period you recorded, and stop further attempts. Do not enable detailed PHP error output for visitors on a production site; details should remain in the logs, while the screen should show a general error page. If a service restart is required on an administrator-managed server, perform it only after the configuration has been validated and the provider’s procedure is known; on shared hosting, do not perform service operations outside the panel.
The next safe step is to send the administrator the failed URL, the exact time, the single most recent change, and the relevant line from the new error log. Do not share credentials, access tokens, or personal data. If application resources are insufficient, before changing a managed setting you may review the Turkey VDS server plans page only to consider possible hosting options; moving to a new server does not automatically fix the existing PHP incompatibility.
Copyright © 2026 All Rights Reserved
