Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74420 invoked from network); 21 Apr 2014 20:25:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2014 20:25:46 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.204 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.204 mail4.serversure.net Linux 2.6 Received: from [217.147.176.204] ([217.147.176.204:59128] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/B0-00448-7CE75535 for ; Mon, 21 Apr 2014 16:25:44 -0400 Received: (qmail 5925 invoked by uid 89); 21 Apr 2014 20:25:40 -0000 Received: by simscan 1.3.1 ppid: 5917, pid: 5921, t: 0.0929s scanners: attach: 1.3.1 clamav: 0.96/m:52 Received: from unknown (HELO linux-dev4.lsces.org.uk) (lester@rainbowdigitalmedia.org.uk@81.138.11.136) by mail4.serversure.net with ESMTPA; 21 Apr 2014 20:25:40 -0000 Message-ID: <53557F80.8000503@lsces.co.uk> Date: Mon, 21 Apr 2014 21:28:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 MIME-Version: 1.0 To: PHP internals References: <53545EA8.2020703@sugarcrm.com> <5354F257.3030508@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP on 64-bit windows From: lester@lsces.co.uk (Lester Caine) Pierre Joye wrote: > hi, > > On Mon, Apr 21, 2014 at 12:26 PM, Lester Caine wrote: >> Pierre Joye wrote: >>> >>> php 6 will actually have real 64bit support, hopefully, the int64 >>> branch has all necessary changes and I seriously hope that the RFC >>> will be accepted. >> >> Pierre ... I'm still fighting 32/64 bit problems with windows on legacy >> systems. 64 bit windows does not allow access to the parallel port which we >> use for controlling additional hardware. > > I have no parallel port at hand to do tests but it should work like > any devices. Please report a bug, add a stack trace (process monitor > output) to see what happens. This is not a general PHP problem, but relates to use of the parallel port in other hardware drivers. NTPort lib still only supports 32bit applications, and 'fastmode' access is specifically blocked by 64 bit windows! A number of drivers that my legacy hardware systems use are unusable on 64 bit windows and those projects are now advising staying with 32bit windows as they have been unsuccessful in producing a 64bit driver due to the blocks applied in kernel access. >> While not directly a problem for >> simple code, is the way 64 bit builds of windows handle memory access a >> problem for PHP builds? Having moved the servers over to Linux for PHP and >> database support, the remaining elements are STILL locked to 32bit windows >> simply because of legacy hardware, but I'm trying to work out the best way >> forward as we are still tied to XP on a number of systems ... with PHP >> access for control ... so things are getting very messy :( > > If you use XP it means you use 5.4, we do not provide any 64bit > support for windows with 5.4, only 5.5+, experimental. My point is that moving things to 64 bit builds of windows, which are the norm for windows 8.1 - or at least I have not yet found a pre-installed 32 bit windows 8.1 - is now highlighting problems that are not easy to get around. Simply running 32bit builds of applications does not mean they will actually work on 64it windows! One needs to have 32 bit windows for some kit for which there is no later drivers. XP may be end of life, but there is currently no alternative that I've managed to get working on even W7 and now testing on W8.1 is throwing up new failures. Having now picked up a 32bit build of W8.1 I'm hoping to make some progress, but this is all very messy and time consuming! -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk