Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8262111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:39:17+00:00 2026-06-08T03:39:17+00:00

My server (Apache2, PHP5) returns a blank page with Header Code 500 whenever it

  • 0

My server (Apache2, PHP5) returns a blank page with Header Code 500 whenever it comes across a simple parse error in PHP. For instance:

<?php functiondoesnotexist(); ?>

or

<?php echo 'with2semicolons';; ?>

Does not output one of those orange tables telling me what’s wrong, the server simply bails.

I’ve checked the Apache error logs and it is indeed telling me the error (for instance Undefined function functiondoesnotexist()).

How can I stop this behaviour? My php.ini is (as far as I know) untouched.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:39:19+00:00Added an answer on June 8, 2026 at 3:39 am

    You can set these error variables in your php.ini file:

    error_reporting = E_ALL | E_STRICT
    display_errors = On
    

    And/or override them at the start of your php scripts when needed:

    ini_set('display_errors', 1);
    error_reporting(E_ALL | E_STRICT);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://localhost/joomla/administrator/ The web browser returns an error that the page does not exist after
I get an error response from the .save() function. The server side php returns
Under Windows7 I am running CentOS-6.2-x86_64-server (on VM) having Apache2 with php5 and mysql
I've uploaded my Yii application to an Ubuntu 12.04 server running PHP5 and Apache2.x.
I would like to enable SOAP on my PHP5/Centos/Apache server. I have full access
Im running a Apache2 server on Ubuntu 11.10 and Id like to time HTTP
I've got a local Apache2 server on Ubuntu 12.04 with virtual hosts, so in
I've got an Apache2/web2py server running using the wsgi handler functionality. Within one of
I have 2 servers. Server 1 has the engine/api. Server 2 has apache2 and
I'm setting up a django server (1.4, python 2.7) with apache2 + mod_wsgi on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.