Date: Thu, 16 Nov 2006 15:30:35 +0100 From: "Christian Walther" <cptsalek@gmail.com> To: "John Vaughan" <jjvaughan@gmail.com> Cc: Leonidas Tsampros <ltsampros@upnet.gr>, freebsd-questions@freebsd.org Subject: Re: Some php files in same directory of working files with same permissions won't process Message-ID: <14989d6e0611160630i1a58fb84sedc1d00690b3e021@mail.gmail.com> In-Reply-To: <a80ef9a90611160616q1de46a7eob7c9717efa1f5198@mail.gmail.com> References: <1162524792.969363.243540@h48g2000cwc.googlegroups.com> <a80ef9a90611031225j73429db0g26e29ffb61a7ef1f@mail.gmail.com> <5aaed53f0611031721x2be27743xfab7364f4173b42@mail.gmail.com> <a80ef9a90611040710i41e8c7f6mbc328b3c6a2efd4e@mail.gmail.com> <5aaed53f0611051642m117ae170p62b285756e191c27@mail.gmail.com> <a80ef9a90611060544x709bac6fidf9b01943b6850f2@mail.gmail.com> <20061109102417.GA55648@biftekaki.lan> <a80ef9a90611151159i4ce30f53udaddd71c11f87346@mail.gmail.com> <a80ef9a90611160616q1de46a7eob7c9717efa1f5198@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jjvaughan@gmail.com> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14989d6e0611160630i1a58fb84sedc1d00690b3e021>