[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Need confirmation per raq 3/php 4. Almost done



On Tue, 2001-12-25 at 13:37, Joel Holtzman wrote:
> Thanks for that link
> 
> for some reason
> I try
> rm config.cache
> make clean
> 
> I do it again
> 
> the ./configure
> ...
> make
> make install
> 
> and once again, I search in
> /usr/lib/apache/
> and only see libperl.so
> not php4.so (libphp4.so)

Are you sure that it is compiling OK?  in your PHP source directory,
doing a find ./ | grep .so should turn up something.  If it's not, then
you may not be completing the compile successfully.

Also, are you using --with-apxs?  Are you defining the filesystem
layout?

Here's the config I used when compiling an updated PHP 4.0.6.  Note that
you have to do some fancy stuff to get all of these modules working
(such as DOM) so you may want to strip off the configure options for
modules you don't need.
./configure \
--prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-gd \
--with-gettext=/usr \
--enable-safe-mode \
--with-config-file-path=/etc/httpd \
--with-exec-dir=/usr/bin \
--with-zlib \
--enable-magic-quotes \
--with-regex=system \
--with-ttf=/usr/lib/libttf.so \
--enable-track-vars \
--enable-xml \
--disable-debug \
--with-libdir=/usr/lib \
--with-gdbm \
--with-interbase=shared \
--with-pgsql=shared \
--with-ldap \
--with-imap \
--with-kerberos \
--with-dom \
--with-mysql=shared

Matthew Nuzum