php - how can show error or warning in the page -


i have site in server.

because of settings, no error or warning displaying in page

how can change setting, using .htaccess file

simple, can add line php so:

<?php ini_set('display_errors','on');  ?> 

or add following lines htaccess:

php_flag display_errors on php_flag html_errors on 

i try stay away modifying htaccess file if part of site in production.

hope helps


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -