Skip to content

Common Website Errors

Here's a list of common errors you might come across in your adventures as a website webmaster. We'll try our best to help solve them, but understand you'll need to understand the basics of how to edit files & file permissions. Reach out to fused if you're in doubt.

Internal Server Error

The error message itself simply says

Internal Server
Error The server encountered an internal error or misconfiguration and was
unable to complete your request.

There's a few possible solutions to an internal server error:

File/folder permissions:

All folders must be chmodded to 755 and all php files to 655 or lower (644 recommended).

.htaccess references to php settings

Check your .htaccess file within the same folder for references to php_flag entries from .htaccess files are not supported on our system. If you require php flags you can create a php.ini file and place the statements there.

The best & quickest solution to finding the source is checking the 'error_log' file in the same folder.

Can't figure it out? contact us, we see these errors all of the time & can narrow down the culprit very promptly.

Fatal Error: Allowed Memory Size exhausted

You might have higher memory requirements than our default settings allow. Increasing your php memory is simple. Here are twp options below.

Adjusting it by editing a php.ini file

Edit the php.ini file in your public_html folder (or create one if it doesn't exist) and have the following values in it:

memory_limit = 64M
More is allowed, but increase it incrementally (64M, 128M, 256M, 512M, etc.) as needed.

Adjusting it via cPanel

  1. Login to cPanel
  2. Navigate to the MultiPHP INI Editor
  3. Select the relevant domain in the dropdown.
  4. Adjust the settings as needed. In this case, you're looking for the memory_limit line.

The uploaded file exceeds the upload_max_filesize directive in php.ini

You've hit the maximum defined upload size of the server. You can adjust this as desired though, like such:

Edit the php.ini file in domain's docroot (usually "public_html" directory) and add these lines:

upload_max_filesize = 64M
post_max_size = 64M

Save the file and you're done!

Cannot modify header information

"Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/config.php:40) in /home/user/public_html/index.php on line 6"

In order to sort it, edit the file referenced & look for excess whitespace at the end of the file. If you run into this specific error & have trouble solving it, contact fused.

554 Security Error


Warning: exec() disabled for security reasons

By default, we disable a series of PHP features that need exempted before they can be wielded. You can adjust these in your default php.ini file in public_html.

Warning: exec() has been disabled for security reasons in /home/username/public_html/script.php on line 5, you are permitted to override the restrictions and specify list of disallowed functions manually, or disable the restriction at all.

Enabling a php feature

  1. Go to domain's document root directory. This is usually the place you've uploaded your files to. In our case, it's /home/username/public_html.
  2. Find the file named php.ini. Open it up for editing.
  3. Look for disabled_functions line. Edit it as needed (recommended) by removing the specific feature you require or comment the whole line out (as last resort), placing comment sign ";" before it.
  4. Save the file and try your PHP script once more.

If you still run into trouble, contact Fused