Fix 500 error on web hosting
Diagnosing and solving the HTTP 500 error: .htaccess, PHP, disk quotas, WordPress plugins and server logs.
Ready to start your service? Check offers and order online.
View offers and orderFix 500 error on web hosting
Theerror 500 Internal Server Error indicates a server-side problem on your web hosting Anthony IT Solutions : PHP, .htaccess, permissions or disk quota. This guide structure the diagnosis step by step.
Unlike a 404 (page missing), the 500 masks the exact cause to visitors. The server and PHP logs reveal the exact error message.
What you need
- Website in error 500 on web hosting
- Access panel and logs
- SFTP to rename files
- Recent backup, guard save
Identify context
-
Global or partial
The entire site or a specific URL (admin, API)?
-
After which
Update plugin, change .htaccess, migration?
-
Front vs admin
Admin OK but front KO → theme or cache.
-
Sub-domain
One affected vhost → local config.
View logs
-
Logs panel
Guide logs : error.log PHP and Apache/LiteSpeed.
-
Time stamping
Reproduce the error and refresh the logs.
-
Fatal error
Search
PHP Fatal error,Allowed memory size,Parse error. -
Enable display_errors
Temporarily in dev via php.ini or .user.ini, never in prolonged production.
Check .htaccess
-
Rename
Rename
.htaccessin.htaccess.off, if the site returns, the syntax is involved. -
Restore backup
Copy .htaccess.bak or regenerate from WordPress permaliens.
-
Invalid guidelines
Requires, RewriteRule badly closed, guide htaccess.
-
Progressive test
Reintroduce the rules into blocks.
WordPress : troubleshooting mode
-
Plugins
Rename
wp-content/pluginsinplugins.offvia SFTP. -
Theme
Activate a default theme by renameing your active theme.
-
wp-config.php
Check DB_*; add
WP_DEBUG_LOG truein wp-content/debug.log. -
Memory limit
definition('WP_MEMORY_LIMIT', '256M');
Quota, PHP and permissions
- Record the log's exact message
- Start time and recent actions
- Contact support Anthony IT Solutions with domain and log capture
- Restore backup panel if corruption base
-
Disk space
Quotas, full disk = 500.
-
PHP version
Change PHP if incompatible after MAJ CMS.
-
Permissions
644 files, 755 folders; no 777.
-
Ownership
Uploaded files with poor SFTP owner.
Troubleshooting
- Parse error, modified PHP file with invalid syntax.
- Memory enhanced, Increase memory_limit or optimize plugin.
- Max execution time, Script blocked; cron or import.
- Still 500, Contact support with error.log extract.
Frequently Asked Questions
500 without admin access?
SFTP: Rename plugins and theme.
Empty logs?
Wait 1-2 min; check good domain/vhost.
After migration?
BDD and .htaccess identifiers, migration.
Prevention ?
Sauvages, staging, progressive MAJ.
Related guides
See also our web hosting offer and all the procedures on wiki web hosting.