Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27310 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98588 invoked by uid 1010); 6 Jan 2007 21:15:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98564 invoked from network); 6 Jan 2007 21:15:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2007 21:15:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:8034] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/C3-53441-06110A54 for ; Sat, 06 Jan 2007 16:15:15 -0500 Received: (qmail 25661 invoked from network); 6 Jan 2007 21:13:30 -0000 Received: from localhost (HELO ANDILENOVO) (127.0.0.1) by localhost with SMTP; 6 Jan 2007 21:13:30 -0000 To: "'Edin Kadribasic'" , "'PHP Internals List'" Date: Sat, 6 Jan 2007 13:15:04 -0800 Message-ID: <015301c731d7$bdd9dd90$6500a8c0@zend.2k> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <459F1C08.7040300@krug.dk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AccxRxurgIO0NScgSdK0RucG3O36SwAj/MIQ Subject: RE: [PHP-DEV] Windows build From: andi@zend.com ("Andi Gutmans") References: <459F1C08.7040300@krug.dk> Hi Edin, Thanks for trying to get this to work! I think eventually it'll be the right move to go to VC8 but I agree that if it risks a successful 5.2.1 release then it might not be worth doing that right now. If you can share with us a reproducing case we can try and look into it and see if we can get it to work. So far we have concentrated on CLI/CGI/FastCGi because that's the most feasible way of running, but I agree that you also need to get the other methods to run. For those who are curious, there are some significant performance improvements in VC8. Our tolower() optimization which is significant is only for VC8, the compiler creates significantly faster code (on par with Intel C/C++ compiler), and I believe some of the CRT functions like time() are also much faster. So I think it's definitely worth upgrading but it should be well timed. Anyway, let us know and we'll try and dig deeper and help get this puppy ported and update the build. There probably is some work that needs to be done on the 3rd party libs. Thanks. Andi > -----Original Message----- > From: Edin Kadribasic [mailto:edin@krug.dk] > Sent: Friday, January 05, 2007 7:48 PM > To: PHP Internals List > Subject: [PHP-DEV] Windows build > > Hey, > > It seems that VC++ 8.0 (Visual Studio 2005) brings more > trouble that its worth. Mainly the way it deals with the C > runtime. After spending hours and hours of trying to figure > out the way to make PHP work under Apache on Windows and be > able to load extensions, I'm throwing in the towel. > > I can get PHP to work fine on the command line, both cgi and > cli. It also works fine under IIS using fastcgi. But loading > sapi dll into a webserver (not using php.exe or php-cgi.exe) > works for the sapi itself, but trying to load any extensions > via php.ini fails miserably. Sometimes you will get an error > that the C runtime was attempted to be loaded in an illegal > way, sometime PHP will claim that the extension does not exist, etc. > > I looked around at other projects and everyone seems to be > using VC++ 6.0 for their builds (Active state, apache, ...) > which eliminates all the hassle with bundling C runtime, etc. > > So I think the best thing for us would be to stick to the > good old C compiler for making the Windows distro. > > Edin > > -- > PHP Internals - PHP Runtime Development Mailing List To > unsubscribe, visit: http://www.php.net/unsub.php >