Re: [PHP4BETA] any tips on building PHP4 as a DSO for Apache 1.3.9???
| From: | R. P. Channing Rodgers, M.D. | Date: | Wed, 26 Jan 2000 13:18:09 +0000 |
| Subject: | Re: [PHP4BETA] any tips on building PHP4 as a DSO for Apache 1.3.9??? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9414@lists.php.net to get a copy of this message | ||
Dear Colleagues,
There was a minor glitch in the configuration command I included in my earlier
message in connection with my attempts to build PHP 4 as a DSO for Apache under
SPARC/Solaris 2.6. I append a revised one below. Also, here is the first
message I get back from the system when I attempt the configuration:
checking for ASPELL support... configure: error: Could not find aspell-c.h
in /depot/package/aspell_.28.3/include - please copy it manually from the
aspell sources to /depot/package/aspell_.28.3/include
I find the file aspell_.28.3/misc/aspell-c.h, but because of our local
conventions for using the depot shared software repository system we would
normally install it not within /depot/package/aspell_.28.3/include but within
a *subdirectory* of /depot/package/aspell_.28.3/include, or
ls /depot/package/aspell_.28.3/include/spell; will it be found there or do I
have to modify the --with-aspell=[DIR] path below? Are the header files all
that is required, or do I need the entire source tree on hand? The
documentation is very much lacking with respect to the installation of the
impressive number of ancillary applications and libraries that PHP can now
tap into.
Here is the revised configuration command:
> sh
> CPPFLAGS=-I/depot/include \
> LDFLAGS=-L/depot/lib \
> ./configure \
> --prefix=/site/subsys/www/php_4.0b3 \
> --with-config-file-path=/site/subsys/www/php_4.0b3 \
> --with-apxs=/site/subsys/www/apache_1.3.9/bin/apxs \
> --with-mysql=/site/subsys/www/mysql_3.22.27 \
> --with-exec-dir=/site/subsys/www/apache_1.3.9/php-bin \
> --enable-track-vars \
> --disable-short-tags \
> --enable-bcmath=yes \
> --with-ftp \
> --with-java=/usr/java \
> --with-gd=shared,/depot/package/gd_1.3 \
> --with-db2 \
> --with-gdbm=/depot/package/gdbm_1.8 \
> --with-ldap=/depot/package/openLDAP_1.4 \
> --with-pdflib=/depot/package/pdflib_2.01 \
> --with-zlib=/depot/package/zlib_1.1.3 \
> --with-jpeg-dir=/depot/package/jpeg_6b \
> --with-tiff-dir=/depot/package/tiff_3.4b037 \
> --with-mm=/site/subsys/www/mm_1.0.12 \
> --with-readline=/depot/package/readline_4.0 \
> --with-aspell=/depot/package/aspell_.28.3 \
> --with-gettext=/depot/package/gettext_0.10.35 \
> --enable-sysvshm=yes \
> --enable-sysvsem=yes \
> --enable-safe-mode=yes \
> --with-xml=shared,/site/subsys/www/expat_1.1 \
> --with-imap=../imap_4.7a/c-client \
> --with-exec-dir=/depot/bin
Thanks and Cheerio, Rick Rodgers