Get PHP Errors To Display
Hi,
I am wondering if any of you on the list would know if I wanted to see an=
y PHP errors shown up on the browser screen instead of seeing a blank scree=
n, like the one below:
PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';=
' in /root/Desktop/test.php on line 127
How can I get it to show up? (Note: I got the error message above by putti=
ng it on the Solaris system)
I welcome any suggestions.
Alice
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
ajwei [at] indiana.edu
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Get PHP Errors To Display
----- Original Message -----
From: "Wei, Alice J." <ajwei [at] indiana.edu>
To: <php-windows [at] lists.php.net>
Sent: Saturday, June 21, 2008 12:12 AM
Subject: [PHP-WIN] Get PHP Errors To Display
Hi,
I am wondering if any of you on the list would know if I wanted to see =
any PHP errors shown up on the browser screen instead of seeing a blank =
screen, like the one below:
PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or =
';' in /root/Desktop/test.php on line 127
How can I get it to show up? (Note: I got the error message above by =
putting it on the Solaris system)
I welcome any suggestions.
hi,
1.) by script
<?php
ini_set('display_errors', 1);
....
....
?>
2.) by php.ini
display_errors =3D On
Alice
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
ajwei [at] indiana.edu
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Get PHP Errors To Display
Thanks, that did the trick.
Alice
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
ajwei [at] indiana.edu
________________________________________
From: Eric Lee [blueray2048 [at] yahoo.com]
Sent: Friday, June 20, 2008 2:05 PM
To: Wei, Alice J.; php-windows [at] lists.php.net
Subject: Re: [PHP-WIN] Get PHP Errors To Display
----- Original Message -----
From: "Wei, Alice J." <ajwei [at] indiana.edu>
To: <php-windows [at] lists.php.net>
Sent: Saturday, June 21, 2008 12:12 AM
Subject: [PHP-WIN] Get PHP Errors To Display
Hi,
I am wondering if any of you on the list would know if I wanted to see an=
y PHP errors shown up on the browser screen instead of seeing a blank scree=
n, like the one below:
PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';=
' in /root/Desktop/test.php on line 127
How can I get it to show up? (Note: I got the error message above by putti=
ng it on the Solaris system)
I welcome any suggestions.
hi,
1.) by script
<?php
ini_set('display_errors', 1);
....
....
?>
2.) by php.ini
display_errors =3D On
Alice
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
ajwei [at] indiana.edu
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php