Re: PHP 4.0.3 on Debian?

From: Date: Sat, 27 Jan 2001 22:08:50 +0000
Subject: Re: PHP 4.0.3 on Debian?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37031@lists.php.net to get a copy of this message
Hello Thomas, (TW == "Thomas Wentzel") tw@2m.dk marked: TW> I use the following configure string on both machines - only TW> differences is the paths to pgsql and apxs <snip> TW> On my RedHat (which has PHP 4.0.4) I get a nice little TW> stocks.so... TW> On my Debian (which has PHP 4.0.3) I get a not so nice little TW> stocks.a I'm not familiar with the stocks example, but.. <snip> TW> Is anybody able to compile .so files on Debian?? On some Debian systems you have to edit the apxs script if you didn't install Apache via the Debian package system. (IOW, If your server's httpd executable is called 'apache' instead of 'httpd' then you know it's from the Debian packages system rather than an install from source tarball. By now you probably know that.) In order to build any DSO's on a Debian system where one did not install Apache from their package system (Ie. didn't use apt-get), most of the time you have to edit the apxs script and correct: my $CFG_CFLAGS_SHLIB = q(-fpic -DSHARED_MODULE); my $CFG_LD_SHLIB = q(gcc); my $CFG_LDFLAGS_SHLIB = q(-shared); Maybe that will help your situation. -Brian

« previous php.general (#37031) next »