php-install Digest 21 Sep 2002 13:40:19 -0000 Issue 1033
Topics (messages 8514 through 8517): Re: Please help me to get PHP running 8514 by: Johannes Janson libphp4.so no where to be found 8515 by: Jarrell Jackson 8516 by: chad kellerman compile failure 8517 by: Ralf Grabow Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
--- Begin Message ---> Hi! > > I have just installed the Windows installer but it seems that it is not > enough to get PHP working on my Win98 machine. The PHP code is shown when I > select view source and is not executed. > > Can somebody help me? Give us some more info. What type of server do you use. If Apache did you follow the intructions in the readme? AddType application stuff Sorry for that, but make sure you are requesting the page from the server and not just open it. cheers Johannes--- End Message ---
--- Begin Message ---okay, I followed the exact directions from www.php.net/manual/en/install.apache.php and that damn module 'libphp4.so' was no where to be found at boot time, so I had to take the line they told me to put in there out and boot Apache back up by itself. Can any help me with some correct directions about getting that module installed with PHP? I'd very well appreciate anybody's help!--- End Message ---
--- Begin Message ---J- In your ./configure did you put the path to your apxs binary?? -chad Make sure your apache build supports modules... ;^) On Mon, 2002-09-16 at 07:00, Jarrell Jackson wrote: > okay, I followed the exact directions from > www.php.net/manual/en/install.apache.php and that damn module 'libphp4.so' > was no where to be found at boot time, so I had to take the line they told > me to put in there out and boot Apache back up by itself. Can any help me > with some correct directions about getting that module installed with PHP? > I'd very well appreciate anybody's help! > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Chad Kellerman Jr. Systems Administrator Alabanza Inc 410-234-3305--- End Message ---
signature.asc
Description: This is a digitally signed message part
--- Begin Message ---Hello php-install-list. ---------------------- here: imap-2002.RC6 php-4.2.3 linux 2.4.18 cyrus-imapd-2.1.9 cyrus-sasl-2.1.6 httpd-2.0.40 /usr/local/include/sasl/hmac-md5.h /usr/local/include/sasl/md5.h /usr/local/include/sasl/md5global.h /usr/local/include/sasl/prop.h /usr/local/include/sasl/sasl.h /usr/local/include/sasl/saslplug.h /usr/local/include/sasl/saslutil.h /usr/local/lib/libsasl2.la /usr/local/lib/libsasl2.so /usr/local/lib/libsasl2.so.2 /usr/local/lib/libsasl2.so.2.0.6 ------------------- Bug #18895 reports: PHP configure's does not find SASL2 on System ==> configure: error: Please Re-install the cyrus distribution ------------------------------------------------- Some links enables a successfull run of configure. ln -s /usr/local/lib/libsasl2.so.2.0.6 /usr/local/lib/libsasl.so ln -s /usr/local/include/sasl/sasl* /usr/local/include ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --disable-debug --enable-track-vars --with-ftp --with-xml --with-imap=/usr/src/imap-2002.RC6 --with-gettext --with-cyrus --with-openssl ------------------------------------------------ but make returns: ... /bin/sh /usr/src/php-4.2.3/libtool --silent --mode=link gcc -I. -I/usr/src/php-4.2.3/ -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 -I/usr/local/apache2/include -I/usr/src/php-4.2.3/Zend -I/usr/local/include -I/usr/src/imap-2002.RC6/include -I/usr/src/php-4.2.3/ext/mysql/libmysql -I/usr/src/php-4.2.3/ext/xml/expat -D_REENTRANT -I/usr/src/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -o libphp4.la -rpath /usr/src/php-4.2.3/libs -avoid-version -L/usr/local/lib -L/usr/src/imap-2002.RC6/lib -R /usr/local/lib -R /usr/src/imap-2002.RC6/lib stub.lo Zend/libZend.la sapi/apache2filter/libsapi.la main/libmain.la regex/libregex.la /usr/src/php-4.2.3/ext/ctype/libctype.la /usr/src/php-4.2.3/ext/cyrus/libcyrus.la /usr/src/php-4.2.3/ext/gettext/libgettext.la /usr/src/php-4.2.3/ext/imap/libimap.la /usr/src/php-4.2.3/ext/mysql/libmysql.la /usr/src/php-4.2.3/ext/openssl/libopenssl.la /usr/src/php-4.2.3/ext/pcre/libpcre.la /usr/src/php-4.2.3/ext/posix/libposix.la /usr/src/php-4.2.3/ext/session/libsession.la /usr/src/php-4.2.3/ext/standard/libstandard.la /usr/src/php-4.2.3/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lc-client -lcrypt -lpam -lsasl -lcyrus -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o): In function `fatal': /usr/src/imap-2002.RC6/c-client/fs_unix.c(.text+0x9500): multiple definition of `fatal' /usr/src/php-4.2.3/ext/cyrus/.libs/libcyrus.al(cyrus.lo)(.text+0x160):/u sr/src/php-4.2.3/ext/cyrus/cyrus.c: first defined here /usr/i486-suse-linux/bin/ld: Warning: size of symbol `fatal' changed from 40 to 43 in /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o) /usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_get': /usr/src/cyrus-imapd-2.1.9/lib/xmalloc.c(.text+0x190): multiple definition of `fs_get' /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o)(.text+0x93c0):/usr/src /imap-2002.RC6/c-client/env_unix.c: first defined here /usr/i486-suse-linux/bin/ld: Warning: size of symbol `fs_get' changed from 110 to 44 in /usr/local/lib/libcyrus.a(xmalloc.o) /usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_give': /usr/src/cyrus-imapd-2.1.9/lib/xmalloc.c(.text+0x1c0): multiple definition of `fs_give' /usr/src/imap-2002.RC6/lib/libc-client.a(osdep.o)(.text+0x94b0):/usr/src /imap-2002.RC6/c-client/fs_unix.c: first defined here/usr/i486-suse-linux/bin/ld: Warning: size of symbol `fs_give' changed from 80 to 34 in /usr/local/lib/libcyrus.a(xmalloc.o) collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/usr/src/php-4.2.3' make: *** [all-recursive] Error 1 see also Bug #15776 imap compile failure ----------------------------------------- [19 Sep 8:20pm] [EMAIL PROTECTED] answers. ... Thank you for your interest in PHP. Your problem is in your c-client compile not PHP. Talk to c-client people.. ---------------------------------------- -------------------------------------------- Mark Crispin <[EMAIL PROTECTED] answers: I'm sorry, but this problem seems to go back to the PHP people, or possibly to the Cyrus people. It looks like PHP is trying to link with two libraries, libc-client.a and libcyrus.a, and that both libraries have routines named fatal() and fs_get(). c-client has had these routine names as globals for a long time (15 years), long before Cyrus existed. If libcyrus.a is supposed to be lunk with c-client in an application, it can not define global routines with these names. So either it is a Cyrus problem (libcyrus.a uses conflicting global names), or it is a PHP problem (PHP is linking two incompatible libraries). That is something that you'll need to discuss with the PHP and/or Cyrus people. I do not know enough about either Cyrus or PHP to be able to determine which one of these two possibilities that it is. I can, however, tell you that it's not a c-client problem. I don't know why [EMAIL PROTECTED] told you that it was a "c-client compile". It is clearly doing a link, not a compile; and this link is in PHP and not in c-client. c-client was obviously lunk quite some time earlier. --------------------------------------------- And now I need help. Ralf--- End Message ---