From owner-freebsd-questions@FreeBSD.ORG Fri Dec 1 17:37:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B33516A40F for ; Fri, 1 Dec 2006 17:37:58 +0000 (UTC) (envelope-from jjvaughan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2718743CC2 for ; Fri, 1 Dec 2006 17:37:32 +0000 (GMT) (envelope-from jjvaughan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so2241217uge for ; Fri, 01 Dec 2006 09:37:47 -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:references; b=ra/+iMSNu5/S6/jTVYjEi3iZGnAr4gYdAzol/2JR3L0Mfx+ewWxD78aiD+NYF7xI2uxmK39IwV1+ZryVTvT9Ta33HpXtQ+WswbOkWhbHLX5geqlLPISFBRysgPfckIsdwr7Bx4F+GlGyUlwqRWl2WlVKGFrSY49aR1saUby9V78= Received: by 10.66.243.4 with SMTP id q4mr7679269ugh.1164994666754; Fri, 01 Dec 2006 09:37:46 -0800 (PST) Received: by 10.66.250.4 with HTTP; Fri, 1 Dec 2006 09:37:46 -0800 (PST) Message-ID: Date: Fri, 1 Dec 2006 12:37:46 -0500 From: "John Vaughan" To: "Christian Walther" In-Reply-To: <14989d6e0611160630i1a58fb84sedc1d00690b3e021@mail.gmail.com> MIME-Version: 1.0 References: <1162524792.969363.243540@h48g2000cwc.googlegroups.com> <5aaed53f0611031721x2be27743xfab7364f4173b42@mail.gmail.com> <5aaed53f0611051642m117ae170p62b285756e191c27@mail.gmail.com> <20061109102417.GA55648@biftekaki.lan> <14989d6e0611160630i1a58fb84sedc1d00690b3e021@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Fri, 01 Dec 2006 17:37:58 -0000 Hello Christian, Good thought, but I grabbed it straight from a mirror with wget and did config file tweaks in vi. -John On 11/16/06, Christian Walther wrote: > > 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" > > >