Re: cvs: php4 / TODO-4.1.txt

From: Date: Sat, 21 Apr 2001 20:38:30 +0000
Subject: Re: cvs: php4 / TODO-4.1.txt
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-52113@lists.php.net to get a copy of this message
On 18 Apr 2001, Stig Sæther Bakken wrote: > ["Sean R. Bright" <elixer@erols.com>] > > To continue a tangent... I don't like the idea of having the PEAR > > fetching/installation mechanism written in PHP (already some base code in > > PEAR to do this). It seems to me that it forces the user to download/build > > PHP and then download and rebuild PHP with any extensions that don't come in > > the base distribution. Instead it should be a binary that can be compiled > > before PHP is built, can download and configure any extensions requested and > > then build the resulting PHP binary. We can also build in a dependency > > mechanism where for example, someone chooses to install a PEAR module (be it > > PHP or C) and the required extensions would be downloaded as well. > > > > Just my $0.02 > > I see your point, but personally I code 5 times faster in PHP than in > C, and I want to get this done now, not next year. :-) > > When we're past the prototyping phase and stuff stabilizes, a C > rewrite may be a good idea, but I don't think it is now. > > - Stig > > How about turning all extentions into loadable modules only? That way you compile the core PHP engine, run the PEAR scrips to select, download and compile additional modules. After that the config is updated to dynamically load the new modules at startup. This way one would only need to compile PHP once and still get to write the fetching/install mechanism in PHP. Or is it a must to be able to create a monolithic PHP binary with everything included? Regards, Fredrik -- Do fish get thirsty? Fredrik Öhrn Chalmers University of Technology ohrn@chl.chalmers.se Sweden

« previous php.dev (#52113) next »