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?"
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]