Re: Build Apache/SSL/PHP/GD

From: Date: Fri, 30 Mar 2001 06:54:31 +0000
Subject: Re: Build Apache/SSL/PHP/GD
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2619@lists.php.net to get a copy of this message
While I'm not an expert on this, I do use DSO and gd. I've found that for the configure script to find gd, I had to point it to the exact directory such as /usr/local/gd1.x. Scan through config.cache to see if configure found the gd features in your version of gd, if not there, point more specifically. If you've compiled as a loadable module, and then try to make a DSO, you ought to run: make clean rm config.cache in between to make sure no scrapnel is left behind. also, make sure your apxs script is where you're pointing configure to look. > -------------------------------------------------------------------- > Next I tried to do the DSO Version with: > ./configure --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/lib/apache/bin > --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr > --with-mysql=/usr/local/mysql > > for PHP and this for Apache: > ./configure --with-layout=Apache --enable-module=rewrite > --enable-module=unique_id --enable-module=so > > But after putting the "AddModule .... libphp4.so" line into the httpd.conf > the httpsdctl complains: "libphp4.so is garbled, maybe no DSO?"

« previous php.install (#2619) next »