php-install Digest 8 Aug 2001 23:32:52 -0000 Issue 403 Topics (messages 3899 through 3907): Apache 1.3.20 + php 4.0.6 + openssl 0.9.6b : segfault 3899 by: Prune Sol7 PHP4.0.6 Apache1.3.20 PGSQL7.1.1 doesn't compile 3900 by: Alexander Tait Brotman Why does imap not work as dl??? 3901 by: Peter Holm 3902 by: Mark Roedel 3904 by: Jani Taskinen Re: PHP and Solaris 8 / iPlanet 3903 by: Alfred Lerch I not instaling PHP on Cobatl server 3905 by: Mehmet COKCEVIK installation from source on a redhat 7.1 rpm of apache 3906 by: Terry Davis Re: installation on windows 3907 by: nb 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] ----------------------------------------------------------------------
Hi, I'm having a strange problem with all this... php (as DSO) and apache (+SSL support via mod_ssl module (not DSO)) compile fine. Once installed, everything ok too. The problem arise when I define ErrorLog directives in virtualhosts of httpd.conf. If I define only one Errorlog it goes ok. If I define 2 (one in each vituelhost for ex), httpd catch a SIGSEGV Trussing showed the probleme came from php. After multiple recompile, I finaly found it was due to the option --with-openssl. You'll ask me why ??? I still don't know. The strange thing is : -openssl, as said in the doc, is only used by SNMP. I don't use SNMP. Why is this making trouble ? -openssl seems not to be compiled in : (from ./configure) checking for OpenSSL support... no -why does the problem appear only when I have more than one ErrorLog directive ? any idea welcome... For now, the solution is not to use "--with-openssl" at php configure time. -> php devloppers : what happens when one define --with-openssl and not --with-snmp ?? is this really only used by snmp ? Anyone experienced this problem ?? Cheers, Prune
Hello Could someone tell me why PHP4 wont compile on my Sol7 machine? PHP3 works fine and so does Apache by itself. Below is my debug.log and any help would be greatly appreciated. If you need more info please let me know. Thanks. Solaris7 Apache1.3.20 PostgreSQL 7.1.1 PHP4.0.6 (4.0.5 doesn't work either) CONFIGURE: './configure' '--with-apache=../apache_1.3.20' '--with-pgsql=/usr/local/pgsql-7.1.1' '--enable-track-vars' '--with-config-file-path=/etc' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 CXX: CXXFLAGS: INCLUDES: -I/export/home/abrotman/newstuff/apache_1.3.20/src/include -I/export/home/abrotman/newstuff/apache_1.3.20/src/os/unix -I$(top_builddir)/Zend -I/export/home/abrotman/newstuff/php-4.0.6/ext/mysql/libmysql LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -R/usr/local/pgsql-7.1.1/lib -L/usr/local/pgsql-7.1.1/lib LIBS: -lpq -lcrypt -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc DLIBS: SAPI: apache PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 /usr/local/pgsql-7.1.1/lib uname -a: SunOS phoenix.lhup.edu 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-5_10 gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -R/usr/local/pgsql-7.1.1/lib -L/usr/local/pgsql-7.1.1/lib conftest.c -lpq -lcrypt -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc 1>&5 ld.so.1: ./conftest: fatal: relocation error: file ./conftest: symbol __register_frame_info: referenced symbol not found
Hi, I am trying to compile the imap-module as a dl, but if I want to start apache I get this error: PHP Warning: Unable to load dynamic library '/usr/local/lib/php/20001222/imap.so' - /usr/local/lib/php/20001222/imap.so: undefined symbol: mxdriver in Unknown on line 0 config looks like this: ./configure --with-apxs \ --with-mysql=/usr \ --with-config-file-path=/etc \ --with-regex=system \ --with-zlib=shared \ --with-gd=shared \ --with-imap \ --with-openssl \ --with-kerberos \ --with-curl=shared \ --with-ldap=shared \ --with-swf=shared,/usr/local/swf \ --with-mnogosearch=shared \ --with-gettext=shared \ --with-db2 \ --with-db3 \ --enable-ftp=shared \ --enable-trans-sid \ --enable-calendar \ --enable-shared \ --disable-pear \ Also I do not understand, why libphp4.so gets about two megs bigger, if I compile with imap... thatīs why I want to have it as dl. Can anybody give a hint? Are there any issues with imap? THANKS for your attention!
> -----Original Message----- > From: Peter Holm [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 08, 2001 9:11 AM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] Why does imap not work as dl??? > > > I am trying to compile the imap-module as a dl, but if I want to start > apache I get this error: > > PHP Warning: Unable to load dynamic library > '/usr/local/lib/php/20001222/imap.so' - > /usr/local/lib/php/20001222/imap.so: undefined symbol: mxdriver in > Unknown on line 0 Is the imap library's c-client.a or libc-client.a somewhere in your libpath? That looks to be where the mxdriver is defined (at least on my system). > Also I do not understand, why libphp4.so gets about two megs bigger, > if I compile with imap... thatīs why I want to have it as dl. The IMAP client libraries on my system are about 1.8M...if you're compiling them into PHP, it stands to reason you'd have a size increase of somewhere around that, doesn't it? --- Mark Roedel | "The most overlooked advantage to owning a Systems Programmer | computer is that if they foul up there's no LeTourneau University | law against whacking them around a little." Longview, Texas, USA | -- Owen Porterfield
Get the latest CVS snapshot from http://snaps.php.net/ I fixed this just few days ago. --Jani On Wed, 8 Aug 2001, Peter Holm wrote: >Hi, > >I am trying to compile the imap-module as a dl, but if I want to start >apache I get this error: > >PHP Warning: Unable to load dynamic library >'/usr/local/lib/php/20001222/imap.so' - >/usr/local/lib/php/20001222/imap.so: undefined symbol: mxdriver in >Unknown on line 0 > > >config looks like this: > >./configure --with-apxs \ > --with-mysql=/usr \ > --with-config-file-path=/etc \ > --with-regex=system \ > --with-zlib=shared \ > --with-gd=shared \ > --with-imap \ > --with-openssl \ > --with-kerberos \ > --with-curl=shared \ > --with-ldap=shared \ > --with-swf=shared,/usr/local/swf \ > --with-mnogosearch=shared \ > --with-gettext=shared \ > --with-db2 \ > --with-db3 \ > --enable-ftp=shared \ > --enable-trans-sid \ > --enable-calendar \ > --enable-shared \ > --disable-pear \ > >Also I do not understand, why libphp4.so gets about two megs bigger, >if I compile with imap... thatīs why I want to have it as dl. > >Can anybody give a hint? >Are there any issues with imap? > > >THANKS for your attention! > > > > >
Hi Dale, > recommended web sites probably includes http://benoit.noss.free.fr/php/install-php4.html ? Have you checked the LD_LIBRARY variable ? Would you have some more information ? regards alfred Dale Wright wrote: > > After installing PHP on Solaris 8 with iPlanet 4, the web server will not > restart -- the error is -- start failed. (2: unknown early startup error) > I have looked through a lot of the discussion groups and recommended web > sites to no avail. Can anyone give me some clues? If I comment out the > init stuff in the obj.conf file the server will start but will not shutdown. > If I don't get this working soon, my PHP project may get the axe!! > Arrrgggghhh! > > Thanks in advance, > Dale Wright > Integration Manager > Saffron Technology, Inc. > http://www.saffrontech.com > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- -- \\\\\/// / ^ _ \ ( (o) (o) ) --- That's all folks --- +=oOOO=====(_)=====OOOo==========================================+ |Alfred Lerch Mentor Graphics Deutschland GmbH| |Network & System Administrator Elsenheimer Str. 41 - 43| |IT - Business Support Team Munich D-80687 Muenchen, Germany| |email: [EMAIL PROTECTED] Fax : +49 89 57096-400| |Tel. : +49 89 57096-241 Mobile: +49 172 8915200| | | |Helpdesk IT Central Europe in Munich | |Tel. : +49 89 57096-110 internal: 777| |email: [EMAIL PROTECTED] | +=============Oooo.==============================================+ .oooO ( ) ( ) ) / \ ( (_/ \_)
Hello, I not instaling PHP 4 on cobatl server pls step by step to tell instalitions. Thank you Server : Cobalt RAQ3 OS: Cobalt 5.0
I need a php version with a ton of compile options but I really like the apache that is setup by default on redhat. I would like to build php on top of that. I am having trouble doing this. Anyone have any advice for this? -- Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059 www.birddog.com
Pickup PHP404.exe from http://php.weblogs.com/easywindows (about 3MB, but worth it) This installs everything to the right places - in about 2 minutes. I've used it for PWS on 98, and IIS 4 on NT. There are notes on that site about the minor server configuration required. cheers nb <[EMAIL PROTECTED]> wrote in message OF6C6667FB.5293CCFE-ON65256AA2.00334B94@domain">news:OF6C6667FB.5293CCFE-ON65256AA2.00334B94@domain... > Dear Friends, > > I am new to PHP (but familiar with ASP,JSP) and would like to have some > guidance notes from you. > I am using windows 98 OS on my PC with PWS installed on it. > I want to install PHP that runs on windows using PWS. > For this I have done the following: > 1. Downloaded php for windows from www.php.net , its is of about 738 > bytes. > 2. I extracted the same in c:\php folder. > 3. shifted the php.ini in c:\windows folder. > > My queries are: > 1. In which folder I have to place my php files? whether in c: > \inetpub\wwwroot folder where other asp files I put. > Because, when I put test.php file in c:\inetpub\wwwroot folder and > called by using http://localhost/test.php , It showed a blank white > sheet that is without interpreting php. > 2. Whether I have omitted any step for installation? > > Pl. clarify. > > > Ajay K. Ratra > Ludhiana (INDIA) > [EMAIL PROTECTED] > >