Re: MacOSX tests/volunteers

From: Date: Tue, 09 Apr 2002 13:28:13 +0000
Subject: Re: MacOSX tests/volunteers
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-4979@lists.php.net to get a copy of this message
Hello Morten, unfortunately it doesn't work with an Apache DSO yet for 4.2. This is know, and already fixed with the latest CVS (4.3). Both CGI and a static module should work fine. regards, Derick On Tue, 9 Apr 2002, Morten Rønseth wrote: > Hi again Derick, > > > I did: > > cd php-4.0.6 > make distclean > ./configure --with-apxs > cp libtool ../php-4.2.0RC2/. > cd ../php-4.2.0RC2/. > make distclean > ./configure --with-apxs > make > > All ok...then > > make install > > Making install in . > /usr/local/src/php-4.2.0RC2/build/shtool mkdir -p "/usr/libexec/httpd" && > apxs -S LIBEXECDIR="/usr/libexec/httpd" -i -a -n php4 libs/libphp4.dylib > apxs:Error: file libs/libphp4.dylib is not a DSO > make[1]: *** [install-sapi] Error 1 > make: *** [install-recursive] Error 1 > > > Now, libs contains: > > libphp4.la libphp4.so > > i.e. no libphp4.dylib > > The correct install should therefore be: > > /usr/local/src/php-4.2.0RC2/build/shtool mkdir -p "/usr/libexec/httpd" && > apxs -S LIBEXECDIR="/usr/libexec/httpd" -i -a -n php4 libs/libphp4.so > > ...which works. Installs fine & "apachectl configtest" + "apachectl > graceful" works also. > > In addition, fetching a file containing "<?php print (phpinfo ()); ?>" > works. > > > It seems that configure defines > > *darwin*) > SHLIB_SUFFIX_NAME=dylib > > in a couple of places, line 4822 & 25540 - is this correct? > > Hope this helps. > > > > Cheers, > > > -Morten > > ------------------------------------------------------------------- > Rayon Interactive AS http://www.rayon.no > Morten Lerskau Rønseth > mailto:morten.ronseth@rayon.no > Karenslyst Allé 16d Tlf.: (47) 2213 5250 > 0278 Oslo Fax : (47) 2213 5260 > Norway > > PGP fingerprint: F851 91B6 1D81 1409 8B62 3E14 5A60 65F8 5AF4 56AF > ----------------------------------------------------------------------- Did I help you? Consider a gift: http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B ----------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net -----------------------------------------------------------------------

« previous php.qa (#4979) next »