Re: [PHP4BETA] php4 and versioning

From: Date: Mon, 04 Oct 1999 14:13:06 +0000
Subject: Re: [PHP4BETA] php4 and versioning
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-5127@lists.php.net to get a copy of this message
On Mon, Oct 04, 1999 at 03:12:24PM +0200, Stefano Bagnara wrote: > i got installed php3.13dev and php4cvs of 29/09/1999...- > now... php4cvs works fine ... i tryed to build the new cvs every day from > 29/09 but it always crashes on my sites... > The problem is that every time i install the new version, i see that it does > not work and i had to put back the old version. > Is there a way (with versioning) to have php3 (.php3) + php4cvs0929(.php) + > php4cvs[today] (.php4) associated with the 3 different extensions? > or versioning can help me only with whole different version of php? The versioning options allows you to export only a special symbol (the Apache module table), so that you don't get problems with the dynamic linker (libtool does this much nicer, btw). The following way should always work (until we switch to libtool): Add a new line at the beginning of sapi/apache/mod_php4.c: #define php4_module php4XXX_module Then echo php4XXX_module > php.map Recompile with --enable-versioning. In conf/httpd.conf you should write LoadModule php4XXX_module libexec/libphp4.so (don't forget to rename the file (libphp4.so) appropiately, otherwise make install will always overwrite the latest version). -- Regards, Sascha Schumann Consultant

« previous php.version4 (#5127) next »