Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56930 invoked by uid 1010); 6 Jan 2007 04:33:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56915 invoked from network); 6 Jan 2007 04:33:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2007 04:33:02 -0000 Authentication-Results: pb1.pair.com header.from=firmanw@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=firmanw@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.190 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: firmanw@gmail.com X-Host-Fingerprint: 64.233.182.190 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.190] ([64.233.182.190:42449] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/B8-01582-D762F954 for ; Fri, 05 Jan 2007 23:33:01 -0500 Received: by nf-out-0910.google.com with SMTP id l35so7188801nfa for ; Fri, 05 Jan 2007 20:32:59 -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:content-transfer-encoding:content-disposition:references; b=hJ4d/spxHgW5YrXF44gaz8LeGyHhL9qCOf/xJS7CeIQQ7vmU2pZ/jfRdgLfRdJ/fhuIq1qZyRJFZ2NCpB9snpWezyKUPI6mg9Mac10BKyJSgbZDGPM2Oli6eUAj7KpCDn9yveJMsI0+mvPKhT0yYO5lUJ0mnZMRcdOn7UevQThA= Received: by 10.78.151.3 with SMTP id y3mr7171513hud.1168057979044; Fri, 05 Jan 2007 20:32:59 -0800 (PST) Received: by 10.78.185.20 with HTTP; Fri, 5 Jan 2007 20:32:58 -0800 (PST) Message-ID: <7526e9dd0701052032q7ce8c3c9l8ba846b248925a58@mail.gmail.com> Date: Sat, 6 Jan 2007 11:32:59 +0700 To: "Edin Kadribasic" Cc: "PHP Internals List" In-Reply-To: <459F1C08.7040300@krug.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <459F1C08.7040300@krug.dk> Subject: Re: [PHP-DEV] Windows build From: firmanw@gmail.com ("Firman Wandayandi") Hi, On 1/6/07, Edin Kadribasic wrote: > 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. > Confirmed. > 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. > I'm not sure which the best one of compiler. But agree, I think the old compiler is a right one ATM. While still investigating and finding the solution to make everything works. BTW, is it just suspend for swicthing to VC++ 8.0 or stick on the old one (for future plan) ? -- Firman Wandayandi