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

  • Home
  • SEARCH
  • 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 4268142
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:59:43+00:00 2026-05-21T06:59:43+00:00

I have 2 environments, local and live on local i am running: apache php

  • 0

I have 2 environments, local and live

on local i am running:
apache
php 5.2.9

on live i’m running:
nginx (fpm)
php 5.3.5

i have tried setting:

error_reporting(E_ALL);
ini_set('display_errors',1);

this allows all errors on both servers, but on my live server i’m not seeing some errors, for example:

require('test.php);  //missing single quote

gives me a blank screen, but on my local it gives me a notice and fatal error(because of the the require)

if i try to require a file that doesn’t exist i get fatal errors on both environments.

I have access to change the configs and error reporting and display_errors are beign set correctly.

Any ideas?

  • 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-05-21T06:59:43+00:00Added an answer on May 21, 2026 at 6:59 am

    Those kid of errors are critical. And their debugging information is also critical and potentially vulnerable to attacks.

    Some hosts keep display_startup_errors off due to this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have a struct that contains local environments: public struct Environments {
Say I have a couple of java runtime environments running on my system which
So I have my local MAMP setup and running a test environment for my
I have a live site that includes different php files depending on what page
Fairly simple question that I can't remember. We have three environments: Local machine (unique
How can you invoke shell commands from Squeak and Pharo? Do these environments have
As most production environments we have setup something to send us a notification if
I have a three-tier application which is installed in corporate environments. With every server
I have a website that is deployed between 3 different environments - Dev, Stage,
I have a web service that needs different settings for different environments (debug, test,

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.