delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/22/07:23:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 22 Sep 2004 13:22:16 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
Message-ID: <1749416383.20040922132216@familiehaase.de>
To: cygwin AT cygwin DOT com
Subject: Re: New packge: lighttpd-1.3.0
In-Reply-To: <195919927.20040922123057@familiehaase.de>
References: <195919927 DOT 20040922123057 AT familiehaase DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

Hallo Robin,

>> Yes, but you cannot build PHP with fastcgi and Apache support at the
>> same time, so there should be several packages, runtime for every
>> webserver available (currently only lighttpd) plus one common
>> package (devel stuff).

> Can you expand a little on that? Do you mean something like:

> php-common
> php-cgi
> php-apache
> php-devel
> Etc. ?

mod_php for Apache and fastcgi PHP builds are to independant builds
from the same source with different configure options, so we need at
least two build scripts in the source package or one which handles
this conditionally, depnding on user request.

> Can cgi php use the same modules as mod_php? Should we build statically?

PHP can use all extensions it is written for, you probably want to
connect PostgreSQL or MySQL databases, if you use one or another
webserver.  It is just not possible to build CGI version and embedded
version at the same time.

>> > I imagine most of the problems arise when trying to decide on a
>> > standard set of modules to be included with the "standard" php
>> > package. Or is it possible to package php modules separately, e.g.
>> > the postgres, ssl, imap, etc.?
>> 
>> Just include everything possible seems to be ok;)  There should be all
>> important modules which are really needed, e.g. database modules for
>> mysql and pgsql, sqlite and others, all graphic stuff possible (GD,
>> JPEG, PNG, ...), cryptographic stuff like openssl, mhash, ...,
>> compression, pear, XML/XSLT, pdflib, PSPELL?  Well you see, one cannot
>> say which extension is important and which isn't, just try to use
>> every available extension seems to be ok IMO.

> That would be OK if all the extensions are built as modules, but building
> everything into one php executable would make it pretty big, wouldn't it?

Yes, extension should be shared modules if possible so one can decide
if they are loaded or not to keep the footprint smaller.


Gerrit
-- 
=^..^=



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019