Master:
# 1    I am not able set php_value in .htaccess                  
linlin
Online no
State
Grouping Member
Class class3
Score 76
Wealth 83
Posts 47
Login 23:31:38
I want to display error for my php page, in .htaccess i set:
php_value error_reporting 8191
php_flag display_errors on

The page display internal server error, so i am not able to display php error.
Hits: 159, Date: 2010-01-07 09:25:38
[Agree] ( 6 ) [Against] ( 5 )

# 2    i guess the hosting company don't allow me to do it                  
linlin
Online no
State
Grouping Member
Class class3
Score 76
Wealth 83
Posts 47
Login 23:31:38
i guess the hosting company don't allow me to do it
Hits: 158, Date: 2010-01-07 09:26:16
[Agree] ( 6 ) [Against] ( 5 )

# 3    ini_set is another way to do it                  
Dude
Online no
State
Grouping Member
Class class4
Score 143
Wealth 116.5
Posts 99
Login 00:58:28
ini_set is placed in the php page that you want to dubug. Example:

ini_set('display_errors', "on");
ini_set('error_reporting', "8191");

The problem is that you can only debug for one page. Actually this is an advantages if you don't want display errors in other pages.
Hits: 156, Date: 2010-01-07 09:30:40
[Agree] ( 6 ) [Against] ( 5 )

1 - 3 [ 3]

Reply: I am not able set php_value in .htaccess

*First line:


More content:


Tags:



Hint: You cannot post here before loginLogin | Register

nothing