jobo: error_reporting einschalten

Hallo,

bei einem script auf einem server (all1 oder so) schreibe ich

  
<?php  
error_reporting(E_ALL);  
include("wasfalsches.php");  
echo "hallo";  

"wasfalsches.php" gibts nicht. es kommt aber keine fehlermeldung, anders als bei mir auf dem rechner. der sagt brav:

Warning: include(wasfalsches.php): failed to open stream: ...

Gruß

jobo

  1. Hallo,

    <?php
    error_reporting(E_ALL);
    include("wasfalsches.php");
    echo "hallo";

      
    
    > "wasfalsches.php" gibts nicht. es kommt aber keine fehlermeldung,  
      
    das ist in Ordnung. In Produktionsumgebungen sollte die Einstellung von [display_errors](http://de2.php.net/manual/de/errorfunc.configuration.php#ini.display-errors) off sein. Du kannst dies einschalten.  
      
      
    Freundliche Grüße  
      
    Vinzenz
    
    1. Hallo,

      Hallo,

      <?php
      error_reporting(E_ALL);
      include("wasfalsches.php");
      echo "hallo";

      
      >   
      > > "wasfalsches.php" gibts nicht. es kommt aber keine fehlermeldung,  
      >   
      > das ist in Ordnung. In Produktionsumgebungen sollte die Einstellung von [display_errors](http://de2.php.net/manual/de/errorfunc.configuration.php#ini.display-errors) off sein. Du kannst dies einschalten.  
        
      ~~~php
        
      ini_set('display_errors','On');  
      error_reporting(E_ALL);  
      include("wasfalsches.php");  
      
      

      Gruß

      jobo