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 04:37:13 +0000 |
| Subject: | 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-9404@lists.php.net to get a copy of this message | ||
Dear Colleagues,
I've read and agonized over the documentation for versions 3 and 4 but remain
confused as to how to install PHP 4 as a DSO for Apache under SPACR/Solaris 2.6.
Can it indeed be done? Any pointers?
It appears as if use of the setup script is now deprecated? I'm trying
to build a "kitchen sink" version of PHP for experimentation, and my current
(non working) guess at a configuration command is (assuming Bourne shell):
cd /site/subsys/www/php-3.0.9
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