From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QTCTF-00064h-S8 for garchives@archives.gentoo.org; Sun, 05 Jun 2011 12:30:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 124351C1E2; Sun, 5 Jun 2011 12:29:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D69FD1C1D0 for ; Sun, 5 Jun 2011 12:29:44 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 613681B4005 for ; Sun, 5 Jun 2011 12:29:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 5A2B480040 for ; Sun, 5 Jun 2011 12:29:43 +0000 (UTC) From: "Ole Markus With" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ole Markus With" Message-ID: <3c12a03e9bd820a63e401e2b3190594f019ccab5.ole_markus_with@gentoo> Subject: [gentoo-commits] proj/php:master commit in: docs/ X-VCS-Repository: proj/php X-VCS-Files: docs/php-installing.xml X-VCS-Directories: docs/ X-VCS-Committer: ole_markus_with X-VCS-Committer-Name: Ole Markus With X-VCS-Revision: 3c12a03e9bd820a63e401e2b3190594f019ccab5 Date: Sun, 5 Jun 2011 12:29:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9b13b73abf57ccedfb92a8cacb3a6806 commit: 3c12a03e9bd820a63e401e2b3190594f019ccab5 Author: Ole Markus With olemarkus org> AuthorDate: Sun Jun 5 12:29:04 2011 +0000 Commit: Ole Markus With olemarkus org> CommitDate: Sun Jun 5 12:29:22 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/php.git;a=3Dc= ommit;h=3D3c12a03e Added a troubleshooting part with an entry on source code showing --- docs/php-installing.xml | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/docs/php-installing.xml b/docs/php-installing.xml index ad19baa..0d5c92b 100644 --- a/docs/php-installing.xml +++ b/docs/php-installing.xml @@ -219,6 +219,28 @@ creating a new user for your web application.

+ + +Troubleshooting +
+My source code is showing + +

We do not really get that many support issues except for this one. + +

The most common reason is that short_open_tags is disabled by default= . If you code make use of short tags, i.e <? instead of <?php, you = have to either fix your code or make change your php.ini to enable short = open tags.

+ +
+short_open_tag =3D On
+
+ +

Make sure you restart the relvant servers/fpm after changing php.ini<= /p> + +

The other common reason for source code to be displayed is that you f= orgot to add "-D PHP5" to /etc/conf.d/apache2 as described a= bove.

+ + +
+
+ Further reading