Master:
# 1 I am not able set php_value in .htaccess                  
linlin
Online no
State
Grouping Member
Class class3
Score 58
Wealth 74
Posts 32
Login 03-09 07:27:24
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: 56, Date: 2010-01-07 09:25:38
[Agree] ( 2 ) [Against] ( 2 )

# 2 i guess the hosting company don't allow me to do it                  
linlin
Online no
State
Grouping Member
Class class3
Score 58
Wealth 74
Posts 32
Login 03-09 07:27:24
i guess the hosting company don't allow me to do it
Hits: 55, Date: 2010-01-07 09:26:16
[Agree] ( 2 ) [Against] ( 2 )

# 3 ini_set is another way to do it                  
Dude
Online no
State
Grouping Member
Class class3
Score 78
Wealth 84
Posts 44
Login 03-07 04:39:11
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: 53, Date: 2010-01-07 09:30:40
[Agree] ( 2 ) [Against] ( 2 )

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