From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 20:49:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E931065670 for ; Wed, 20 Oct 2010 20:49:07 +0000 (UTC) (envelope-from indexer@internode.on.net) Received: from mail.internode.on.net (bld-mail12.adl6.internode.on.net [150.101.137.97]) by mx1.freebsd.org (Postfix) with ESMTP id 673BE8FC18 for ; Wed, 20 Oct 2010 20:49:05 +0000 (UTC) Received: from mai.dhcp.chocolate.lan (unverified [203.122.194.109]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 43505710-1927428 for multiple; Thu, 21 Oct 2010 07:19:04 +1030 (CDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Indexer In-Reply-To: <20101020203333.GG25310@thought.org> Date: Thu, 21 Oct 2010 07:18:58 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20101019033104.GA19320@thought.org> <20101020174953.GE25310@thought.org> <20101020200201.GF25310@thought.org> <4CBF4E36.5050905@pchotshots.com> <20101020203333.GG25310@thought.org> To: Gary Kline X-Pgp-Agent: GPGMail 1.2.3 X-Mailer: Apple Mail (2.1081) Cc: Brad Mettee , FreeBSD Mailing List Subject: Re: need help with php. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 20:49:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>> Try using "=20 > root@ethic:/usr/local/www/apache22/data# php ./test.php > > root@ethic:/usr/local/www/apache22/data#=20 >=20 >=20 > Hm. php aimed at "./test.php" just catenates the file. Does > that tell you anything? >=20 Yes, it tells me that you cant read properly. you need to make test.php=20 =20 THEN you do your php ./test.php command here ill make it easy for you echo "" > test.php ; php test.php forexample [williambrown@Mai ~]$ echo "" > test.php ; php = test.php phpinfo() PHP Version =3D> 5.3.2 ............. most likely the default php config has short tags OFF and it has been = this way for some time now. It is a good thing because it forces you NOT = to be lazy, and it avoids issues with other languages that do use