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

Re: [cobalt-developers] php modules



Also, maybe a Tech Note on installing IMP would be good too.
.G

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.

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

--

--						--
Gordon Garb				gordon.garb@xxxxxxx
Senior Manager - Developer Relations http://developer.cobalt.com/ http://www.cobalt.com/solutions
Cobalt Networks -- the Sun Microsystems Server Appliance Business Unit
555 Ellis Street				+1 650 623-2501 fax
Mountain View, CA  94043 USA 			+1 650 623-2534 voice

This email may contain Sun confidential and privileged material for
the sole use of the intended recipient.  Any review or distribution by
others is strictly prohibited.  If you are not the intended recipient
please contact the sender and delete all copies.
-