Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27290 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46208 invoked by uid 1010); 6 Jan 2007 04:00:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46192 invoked from network); 6 Jan 2007 04:00:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2007 04:00:45 -0000 Received: from [127.0.0.1] ([127.0.0.1:29064]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 02/F6-01582-CEE1F954 for ; Fri, 05 Jan 2007 23:00:44 -0500 Authentication-Results: pb1.pair.com smtp.mail=edin@krug.dk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=edin@krug.dk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain krug.dk from 192.38.9.232 cause and error) X-PHP-List-Original-Sender: edin@krug.dk X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from [192.38.9.232] ([192.38.9.232:3468] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/C6-01582-E0C1F954 for ; Fri, 05 Jan 2007 22:48:30 -0500 Received: by gw2.emini.dk (Postfix, from userid 504) id AE327DF98E; Sat, 6 Jan 2007 04:48:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on gw2.emini.dk X-Spam-Detected: no X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 X-Spam-Level: Received: from latif.krug.dk (0308ds1-rdo.0.fullrate.dk [89.150.164.31]) by gw2.emini.dk (Postfix) with ESMTP id 75A90DF982 for ; Sat, 6 Jan 2007 04:48:24 +0100 (CET) Received: by latif.krug.dk (Postfix, from userid 504) id C32E1246009B; Sat, 6 Jan 2007 04:48:23 +0100 (CET) Received: from [10.0.0.5] (unknown [10.0.0.5]) by latif.krug.dk (Postfix) with ESMTP id 66FDB2460081 for ; Sat, 6 Jan 2007 04:48:23 +0100 (CET) Message-ID: <459F1C08.7040300@krug.dk> Date: Sat, 06 Jan 2007 04:48:24 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: PHP Internals List X-Enigmail-Version: 0.94.1.0 OpenPGP: id=157D0FA8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Windows build From: edin@krug.dk (Edin Kadribasic) 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