Hi,
just posting the solution to my problem, in case somebody needs it.

I've installed mysql and postgres from source, openldap client from
openbsd package.

I've tried to make php from ports, and discovered it seem to need the
following packages:

pkg_add libtool-1.3.5p3.tgz
pkg_add autoconf-2.13.tgz
pkg_add recode-3.6.tgz

Then I've patched php-4.2.2 with php-functions.c from the current
snapshot.

Now I've tried to compile c-client, but, unless you remove
EXTRAAUTHENTICATORS from /usr/ports/mail/c-client, it will build a
kerberos-enabled c-client. So, remove them and build from c-client port.
This will build a kerberos-free c-client, suitable for usage with php,
install it.

Now this is my ./configure:

./configure --enable-bcmath --enable-ftp --enable-calendar \
 --enable-versioning --enable-sysvshm --enable-sysvsem \
 --enable-sockets --enable-inline-optimization --enable-static=most \
 --enable-safe-mode --enable-trackvars -with-zlib --with-openssl \
 --with-ldap --with-bz2=/bin/ --with-imap --with-imap-ssl=/usr \
 --with-gettext --with-pgsql=/usr/local/postgres \
 --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs

then make php and, before 'make install', do mkdir libs in the php build
directory (there seem to be a bug in the install script).
Copy php.ini-recommended in /usr/local/lib/php.ini, enable what you need
in httpd.conf, restart and enjoy.

See you!
Michele


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to