From owner-freebsd-questions@FreeBSD.ORG Thu Nov 16 14:30:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A93D16A412 for ; Thu, 16 Nov 2006 14:30:39 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ABE743D53 for ; Thu, 16 Nov 2006 14:30:36 +0000 (GMT) (envelope-from cptsalek@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so536124wxc for ; Thu, 16 Nov 2006 06:30:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h45JZyi/fFtTq01Mqir17698SYmkKje4jCslbLla21c5LO4YlgFA01+9+lpfZpccViB5YeXZ6YPCOJsk0XZkN0DFUfmAhZUyQUqUsyv1QaSIBcFmSgTWLy03iULwUubCkgcnRz/zYHdOL8xhGEchsSuNpe819J2Bjb9cYK8+Jq8= Received: by 10.70.36.9 with SMTP id j9mr868418wxj.1163687436079; Thu, 16 Nov 2006 06:30:36 -0800 (PST) Received: by 10.70.14.15 with HTTP; Thu, 16 Nov 2006 06:30:35 -0800 (PST) Message-ID: <14989d6e0611160630i1a58fb84sedc1d00690b3e021@mail.gmail.com> Date: Thu, 16 Nov 2006 15:30:35 +0100 From: "Christian Walther" To: "John Vaughan" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1162524792.969363.243540@h48g2000cwc.googlegroups.com> <5aaed53f0611031721x2be27743xfab7364f4173b42@mail.gmail.com> <5aaed53f0611051642m117ae170p62b285756e191c27@mail.gmail.com> <20061109102417.GA55648@biftekaki.lan> Cc: Leonidas Tsampros , freebsd-questions@freebsd.org Subject: Re: Some php files in same directory of working files with same permissions won't process 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: Thu, 16 Nov 2006 14:30:39 -0000 Hi John, has this file been edited on another platform, Windows in particular? I've seen many occasions where people created a script using a windows text editor, saving it as a windows text file. While most scripting languages don't care about this, editing a windows text file on a unix box will eventually break the format of the file (being neither DOS nor Unix anymore), resulting in strange behaviour sometimes. (This is just a guess, it happened several times with perl here, so php might not be affected by this kind of error at all.) HTH Christian On 16/11/06, John Vaughan wrote: > Hello list, > > Some new findings. . . > > A buddy (wes) on another list loaded the troublemaker index.php file using > telnet and got: > > wes@kitura:~/Downloads$ telnet welcome.coe.jmu.edu 80 Trying 134.126.97.69.. > . > Connected to etv.jmu.edu. > Escape character is '^]'. > GET /dbadmin/index.php > Connection closed by foreign host. > > And suggested that the PHP processor was crashing. > > When I use the php CLI from the command line and run the index file in my > phpmyadmin folder I get: > > # php index.php > Segmentation fault (core dumped) > > When I run a test file (that works) with phpinfo in it, it also throws an > error: > [Thu Nov 16 07:26:34 2006] Script: 'test.php' > /usr/ports/databases/pecl-PDO/work/PDO-1.0.3/pdo.c(364) : Freeing > 0x0838A0E8 (1 bytes), script=test.php === Total 1 memory leaks detected === > > There are no other useful errors (at least to me) that I can find in my > error logs. Does anyone have a suggestion as to what might be causing > this? All other php files (not in the phpmyadmin folder) seem to execute > fine without error. > > I can try reinstalling php, but would really like to know where things went > wrong and why only the folder with the phpmyadmin files seems to be > affected. > > Regards, > -John > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >