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

[cobalt-developers] php modules



does anyone have magic syntax for causing php (itself an apache module)
to load imap, mysql, and ldap modules?

i've downloaded & installed the followingfrom ftp.cobaltnet.com/pub/experimental:

gdb-4.17-5.mips.rpm                php-3.0.16-2C2.mipsel.rpm
gdbm-1.7.3-14.mips.rpm             php-imap-3.0.16-2C2.mipsel.rpm
gdbm-devel-1.7.3-14.mips.rpm       php-ldap-3.0.16-2C2.mipsel.rpm
libstdc++-2.8.0-9.mips.rpm         php-mysql-3.0.16-2C2.mipsel.rpm
libstdc++-devel-2.8.0-9.mips.rpm   openldap-devel-1.2.9-6.mipsel.rpm
openldap-1.2.9-6.mipsel.rpm

i have the following lines in /etc/httpd/conf/httpd.conf, which allows
me to get php itelf to work:

LoadModule php3_module         modules/libphp3.so
AddModule mod_php3.c

AddType application/x-httpd-php3 .php
AddType application/x-httpd-php3 .php3

under /etc/httpd/modules, i've got:

-rwxr-xr-x   1 root     root       955776 Apr 25  2000 imap.so
-rwxr-xr-x   1 root     root        27616 Apr 25  2000 ldap.so
-rwxr-xr-x   1 root     root       848180 Apr 25  2000 libphp3.so
-rwxr-xr-x   1 root     root       111232 Apr 25  2000 mysql.so

phpinfo() says that it wants to read it's config file (php3.ini) from
/etc/httpd/conf. it seems to be reading it. is there magic to put in
there to get mysql & imap working?

the overall goal is to get a webmail application called IMP installed &
running. there are instructions that mention
mod_php3-3.0.7-1C2.mips.rpm, but that's too old a version of php to work correctly.

thanks, of course, in advance for your time & help.