Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53551 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21076 invoked from network); 23 Jun 2011 21:02:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2011 21:02:45 -0000 Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Windows 98 (1) Received: from [91.118.73.15] ([91.118.73.15:59384] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/06-19628-1F9A30E4 for ; Thu, 23 Jun 2011 17:02:42 -0400 Received: from srv-rhsoft.rhsoft.net (openvpn-241.thelounge.net [10.0.0.241]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id DE113AD for ; Thu, 23 Jun 2011 23:02:38 +0200 (CEST) Message-ID: <4E03A9EE.8080902@thelounge.net> Date: Thu, 23 Jun 2011 23:02:38 +0200 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Lightning/1.0b3pre Thunderbird/3.1.11 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig438EF4AF35FE71C91AA8C902" Subject: Re: [PHP-DEV] html_errors default settings From: h.reindl@thelounge.net (Reindl Harald) --------------enig438EF4AF35FE71C91AA8C902 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 23.06.2011 21:47, schrieb Derick Rethans: > Hi! >=20 > In PHP 5.2 and earlier, the html_errors setting has always been on by=20 > default (in the code, in php.ini-dist and in php.ini-recommended). Sinc= e=20 > PHP 5.3, it's still on by default in the code and in=20 > php.ini-development, but php.ini-production has it off with the=20 > following comment: >=20 > ; When PHP displays or logs an error, it has the capability of insertin= g html > ; links to documentation related to that error. This directive controls= whether > ; those HTML links appear in error messages or not. For performance and= security > ; reasons, it's recommended you disable this on production servers. >=20 > Right now, the docref is shown whenever html_errors=3D1, even if=20 > docref_root is not set (empty string). >=20 > Sadly, this means that most distributions have it off in their php.ini.= =20 >=20 > Although the setting does influence the HTML links as well, it's by no = > means a security (or performance) issue and it makes using PHP in=20 > development a lot more annoying (because distributions have the=20 > "production" version of php.ini, and not the "development" one. > It causes many many questions being asked why Xdebug doesn't show the=20 > pretty errors and having it odd serves nothing. (In production, you=20 > should set display_errors off) i would say it is the absolutely minmium requirement for anyone configuri= ng a server oder dvelop server-side scripts to know basic configurations so if this is a problem for somebody he should consider not develop softw= are --------------enig438EF4AF35FE71C91AA8C902 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk4Dqe4ACgkQhmBjz394AnnuGgCfVv9x/VYD+p/emTTNCibxgS/n nQgAnRk2Nnpa6VytgRcJTkQQe1EWnysO =909W -----END PGP SIGNATURE----- --------------enig438EF4AF35FE71C91AA8C902--