php-install Digest 13 Jul 2001 04:29:07 -0000 Issue 359

Topics (messages 3510 through 3524):

APACHE-PHP-IMAP-SSL
        3510 by: Sante Luciani

Re: Psychic Empower yourself!
        3511 by: James McLaughlin

Re: Apache + PHP 3.0.18 + UW-Imap.Z + LDAP + Oracle + IMP = Apache childs coredumps :(
        3512 by: Santiago Romero

configure error ( include debug.log)
        3513 by: Lori Teng ¾H±R¤å

Re: Missing OCX for IIS5
        3514 by: Phil Driscoll
        3524 by: Jeff Dale

Re: problem installing PHP and UCD SNMP
        3515 by: Bais

PHP/OCI8 - Apache crashes on start (Unix)
        3516 by: Rüdiger Schmidt
        3520 by: Florian Clever
        3521 by: Thies C. Arntzen

need IMAP / PHP4 compile help
        3517 by: Marcia Beckwith

HELP!! Error compiling php 4.0.6 on HPUX 11
        3518 by: qaball
        3522 by: FITZWATER,JAMES (Non-HP-PaloAlto,ex1)

NS Enterprise and PHP 4.0.6 NSAPI
        3519 by: Galvin, Max

Re: php 4.0.6 and iodbc...additional info for question
        3523 by: Ryan La Riviere

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]


----------------------------------------------------------------------


Dear sir,

I installed,
on my new linux box (RH7.1) from tarball files,
openssl-0.9.6a
imap-2000.BETA.SNAPS-0107022325 (#make lnp SSLTYPE=unix)

J executed the imap test with ok result
(#openssl; OPENSSL>s_client -host xx.xx.xx.xx -port 993).

Installing apache from tarball
(apache_1.3.20.tar.gz)
with PHP,IMAP and SSL support during
configure php-4.0.6 (--with-imap-ssl)
and apply it to the Apache source tree
j get the following message:
"configure: error: This c-client library does not support SSL .
 Recompile or remove --with-imap-ssl from configure line"

Have you any suggestions?
Regards

Sante Luciani







On Thursday 12 July 2001 01:09 am, [EMAIL PROTECTED] wrote:
HOLY!!! PHP installs using Pyschic powers!!!  yeeeehaa!!!

> Dr. Bruce Goldberg, hypnotherapy expert and author, reveals
> the most effective self-help technique in 6000 years
>
>
> A DAUGHTER SAVED HER MOTHER'S LIFE THROUGH HYPNOSIS
>
>               Valerie Ross, a patient of dentist and hypnotherapist Dr. Bruce 
>Goldberg,
> was trained to use hypnosis to see into the future and discovered an
> undiagnosed medical problem that threatened the mother's (Joann's) life.
>
>       Valerie was obsessed with her mother's health.  She considered Joann her
> best friend and became depressed when she had a vision of Joann dying. 
> Under the supervision of Dr. Bruce Goldberg of Woodland Hills, California,
> author of eleven books on hypnos
>
> is and the originator of progression hypnotherapy (going into the future)
> as described in his international bestseller Past Lives--Future Lives
> (Ballantine), Valerie perceived a serious medical problem with Joann.  She
> urged Joann to go to her doctor fo
>
> r a checkup.
>
> Joann's subsequent medical checkup revealed no serious medical problems. 
> In fact, her HMO physician cleared Joann to go on an Optifast diet at
> Kaiser's positive choice weight control program.  Valerie continued to urge
> Joann to go back for more tests.
>
>  Joann refused, as she thought all was well.
>
> "How can you feel like you're going to die if you feel good?  I didn't feel
> bad so I didn't think I was going to die" stated Joan.  Joann finally
> consented to additional tests, and these tests now revealed a serious
> kidney problem (a 4 millimeter kidney
>
>  stone), along with a critically low level of her blood pressure
> medication.  Surgery was scheduled and Joann's life was saved by Valerie's
> intervention.
>
> Valerie describes her initial vision of her mother's death as follows, "I
> actually saw a still shot of my mother with black completely encasing it."
> In summarizing her therapy with Dr. Goldberg Valerie says, "My entire life
> has changed.  Dr. Goldberg's techniques have not only taught me to deal
> with bereavement, but to change the future."
>
> Joann added, "I wouldn't be here if it wasn't for Valerie.  This case is
> reported in Dr. Goldberg's latest book Custom Design Your Own Destiny
> (Millennial Mind Pub.).
>
>       Dr. Goldberg stated, "We all have the ability to view our future and avoid
> problems.  I call this psychic empowerment."
>
>       Dr. Bruce Goldberg holds degrees in Dentistry and a Masters in counseling
> psychology.  He has written a dozen articles published in respected
> scientific journals and his book The Search for Grace was made into a movie
> by CBS.  Dr. Goldberg has appeared
>
>  on Oprah, Regis & Kathie Lee, CNN and hundreds of TV and radio stations. 
> Jerry Springer declared "This hypnotherapy works" and Art Bell states,
> "Wow!"
>
> For further information Contact:  Dr. Bruce Goldberg at 800-KARMA4U or
> 800-527-6248.
>
> E-mal: [EMAIL PROTECTED]  http://www.drbrucegoldberg.com.
>
> You can order copies of Custom Design Your Own Destiny at
> http://www.pdbookstore.com/Self-HelpHowtoBooks.htm and Dr. Goldberg's
> Custom Design Your Own Destiny cassette album to maximize your own future
> at www.drbrucegoldberg.com.





I have an "small" problem on my Apache Stronghold 3 Server (a simple
Apache 1.3.12 + mod_ssl) using a statically compiled PHP3 module.
PHP version is latest (3.0.18) and is compiled against UW-Imap
libc-client, openldap 1 and oracle librarys to provide IMAP, LDAP
and Oracle support for HORDE/IMP Webmail (I'm using HPUX, but I've
tested it on Linux and it happens the same I'm going to describe).

 The webmail is working perfect, except for some coredumps I get
sometimes (every 20-30 minutes or so). I can work on the webmail
with no problems, but SOMETIMES I get a "Document contained no data",
and the Apache logfile says something like:

[notice] child pid 1234 exit with Segmentation Fault
         (core dump on /usr/apache).

 I have lots of them on different times:

[Wed Jul  4 09:10:22 2001] [notice] child pid 29834 exit
 signal Segmentation fault (11)
[Fri Jul  6 13:05:32 2001] [notice] child pid 30124 exit
 signal Segmentation fault (11)

 I did a backtrace on the core file:

(gdb) bt
#0  0xc01f2740 in kill () from /usr/lib/libc.2
#1  0x1a15a0 in sig_coredump ()
#2  <signal handler called>
#3  0xcda50 in read_next_token (tcm=0x40049b20, token=0x77ff1eb8,
    phplval=0x77ff1d58) at token_cache.c:161
#4  0xb2f68 in phplex (phplval=0x77ff1d58) at main.c:488
#5  0xbb9d8 in phpparse () at /usr/lib/bison.simple:432
#6  0xb5974 in php3_parse (yyin=0x40113c98) at main.c:1564
#7  0xb5ed8 in apache_php3_module_main (r=0x400cd840, fd=26,
    display_source_mode=0, preprocessed=0) at main.c:1929
#8  0xb18a4 in send_php3 ()
#9  0xb1970 in send_parsed_php3 ()
#10 0x197204 in ap_invoke_handler ()
#11 0x1ab36c in process_request_internal ()
#12 0x1ab3ec in ap_process_request ()
#13 0x1a2ff8 in child_main ()
#14 0x1a3254 in make_child ()
#15 0x1a35b8 in perform_idle_server_maintenance ()
#16 0x1a3b78 in standalone_main ()
#17 0x1a45c8 in main ()

 The line 161 of token_cache.c contains:

                GLOBAL(tc)->count++;
        }
-->        *token = &GLOBAL(tc)->tokens[GLOBAL(tc)->pos++];
        return (*token)->token_type;
}
 
 
 This seems a PHP3 problem, and I thought of updating to PHP4, but that's
 not too easy on this HPUX 11 server (which lacks of lots of development
 tools), AND I've seen on google.com and groups.google.com similar messages
 with 4.0.x versions (similar messages with no answers).

 On bugs.php.net I've seen a bug report of the above, but it's stated as
 CLOSED. It's closed saying that latest version should have it corrected
 (the bug is reported for 3.0.2, and I'm using 3.0.18).

 I'm quite desesperated, I would appreciate any help :(


 Some details of how I compiled PHP3:

 I compiled imap (libc-client.a, and some .h files needed by PHP3)
 and openldap 1.x. 

./configure --with-apache=/home/sromero/merca/apachesh
--with-gd=no --with-oracle=/opt/OraHome --with-ldap=/usr
--with-imap=/home/sromero/merca/imap-c-client
--with-config-file-path=/home/sromero/merca --enable-track-vars=yes

 Then I did a make and make install.
 This installed libphp3.a on Apachesrc/modules/php3
 I entered Apachesrc/ and modifyied the Configuration file and
 added:

AddModule modules/php3/libphp3.a

 I executed ./Configure and make. This compiled perfectly and created
 an httpd binary file I copied to the Stronghold's binary dir. 

 IMP's webmail is working ALMOST perfect except for those ocasional
 core dumps. I think the problems are not an application problem...

 Thanks a lot for any help and sorry for the big message, and for
 asking without a previous-fidonet-style-introduction (hi all, I'm
 new to this list :-).

-- 
Santiago Romero
Departamento de Sistemas
[EMAIL PROTECTED]

Av. Primado Reig 189, entlo
46020 Valencia - Spain
Telf. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com





Dear Sir,

I am in Solaris 7.
installed mysql-3.23.39 done.
now want to install apache(apache_1.3.20)  and php4(php-4.0.6), alwasy
get error, even I changed to the old version (apache_1.3.19 or php-3.0.18) 
still same.
can you  direct me where I shoud change or...???
I tryed more than 30 times, really don't know how to do next step!
(search on the internet can't fine and relational documentations)

my install steps are:
#tar zxvf apache_1.3.20.tar.gz
#tar zxvf php-4.0.6.tar.gz
#cd apache_1.3.20
#./configure --prefix=/usr/local/apache
#cd ../php-4.0.6
#./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.20 
--enable-track-vars

PLS give me some hit! Big thanks!


-----------debug.log as below:--------------


CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql' 
'--with-apache=../apache_1.3.20' '--enable-track-vars'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/src/apache_1.3.20/src/include 
-I/usr/local/src/apache_1.3.20/src/os/unix  -I$(top_builddir)/Zend 
-I/usr/local/mysql/include/mysql
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib 
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -R/usr/local/mysql/lib/mysql 
-L/usr/local/mysql/lib/mysql
LIBS:       -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket 
-lgcc
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 
/usr/local/mysql/lib/mysql
uname -a:   SunOS nyc 5.7 Generic_106541-15 sun4m sparc SUNW,SPARCstation-20

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.95.2 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -R/usr/local/mysql/lib/mysql 
-L/usr/local/mysql/lib/mysql conftest.c -lmysqlclient -lcrypt -lresolv -lresolv -lm 
-ldl -lnsl -lsocket  -lsocket -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
uncompress                          /usr/local/mysql/lib/mysql/libmysqlclient.so
compress                            /usr/local/mysql/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status




On Wednesday 11 July 2001 22:28, Jeff Dale wrote:
> When I am installing it tells me that it cannot config my IIS cause there
> is an OCX missing... Does anyone know what it is???
It's a visual basic control that the installer software needs to configure 
IIS. As you will have read in the error box the installer displays, you don't 
*NEED* it - PHP is already installed - you just need to manually configure 
IIS as per the install.txt file.
-- 
Phil Driscoll




I understand that I don't need it but I was just curious to know what OCX I
needed.... Thanks for your input tho..


Much Appreciated..

JD
"Jeff Dale" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When I am installing it tells me that it cannot config my IIS cause there
is
> an OCX missing... Does anyone know what it is???
>
>






Great it's work! thank you! :)

by BAIS

>Jani Taskinen wrote:
>
> 
> --with-openssl
> 
> --Jani
> 
> 
> On Tue, 3 Jul 2001, Nilsson U Magnus wrote:
> 
>>Hi,
>>
>>I have been trying to configure PHP 4.06 with support for UCD SNMP but I
>>did not get it to work. When I try to run "'./configure' '--with-mysql'
>>'--with-apxs' '--with-snmp=/usr/local' '--enable-track-vars'
>>'--enable-ucd-snmp-hack'" I get the following error message. Anyone having
>>a clue to solve thos problem.
>>
>>/Mangus Nilsson
>>
>>
>>
>>CONFIGURE:   './configure' '--with-mysql' '--with-apxs'
>>'--with-snmp=/usr/local' '--enable-track-vars' '--enable-ucd-snmp-hack'
>>CC:         gcc
>>CFLAGS:     -g -O2
>>CPPFLAGS:    -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8
>>CXX:
>>CXXFLAGS:
>>INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend
>>-I/dl/php-4.0.6/ext/mysql/libmysql -I/usr/local/include/ucd-snmp
>>LDFLAGS:     -Wl,-rpath,/usr/local/lib -L/usr/local/lib
>>LIBS:       -lsnmp -lcrypt -lresolv -lm -ldl -lnsl  -lresolv
>>DLIBS:
>>SAPI:       apache
>>PHP_RPATHS:  /usr/local/lib
>>uname -a:   Linux buffy.edet.hygiene.sca.se 2.4.2-2 #1 Sun Apr 8 20:41:30
>>EDT 2001 i686 unknown
>>
>>gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
>>-DSUPPORT_UTF8 -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c
>>-lsnmp -lcrypt
>>-lresolv -lm -ldl -lnsl  -lresolv 1>&5
>>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
>>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
>>/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
>>/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
>>/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
>>/usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
>>/usr/local/lib/libsnmp.so: undefined reference to `des_key_sched'
>>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
>>/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
>>/usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
>>collect2: ld returned 1 exit status
>>
>>
> 
> 





Hi all,

when trying to start Apache 1.3.17 with PHP4.0.6/OCI8, Apache does not
start (Compaq TRU 64 Unix 4.0f). No error message at all!
But I can start it the following way:
- start apache without PHP or without loading liboci8.so
- edit the configuration to activate OCI8 (httpd.conf or php.ini)
- 'apachectl graceful' (works with statically linked OCI8)
  or 'apachectl restart' (works with dynamically linked OCI8 only).
After doing so, PHP/OCI8 works fine.

What's wrong?
Ruediger Schmidt






I have similar problems with Apache 1.3.19 (and Apache 1.3.20) and PHP 4.0.6
(and PHP 4.0.7-Dev).
I also use the OCI module, but as I use many other modules too, I never
traced the problem down to the OCI module.
Mandrake 7.2.

Florian

>
> Hi all,
>
> when trying to start Apache 1.3.17 with PHP4.0.6/OCI8, Apache does not
> start (Compaq TRU 64 Unix 4.0f). No error message at all!
> But I can start it the following way:
> - start apache without PHP or without loading liboci8.so
> - edit the configuration to activate OCI8 (httpd.conf or php.ini)
> - 'apachectl graceful' (works with statically linked OCI8)
>   or 'apachectl restart' (works with dynamically linked OCI8 only).
> After doing so, PHP/OCI8 works fine.
>
> What's wrong?
> Ruediger Schmidt
>
>
>
> --
> 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]
>
>





On Thu, Jul 12, 2001 at 07:01:59PM +0200, Florian Clever wrote:
> I have similar problems with Apache 1.3.19 (and Apache 1.3.20)
> and PHP 4.0.6
> (and PHP 4.0.7-Dev).
> I also use the OCI module, but as I use many other modules too, I never
> traced the problem down to the OCI module.
> Mandrake 7.2.

    try setting 

    LD_PRELOAD=/lib/libpthread.so.0
    export LD_PRELOAD

    in your /etc/init.d/httpd file
    re,
    tc
> 
> Florian
> 
> >
> > Hi all,
> >
> > when trying to start Apache 1.3.17 with PHP4.0.6/OCI8, Apache does not
> > start (Compaq TRU 64 Unix 4.0f). No error message at all!
> > But I can start it the following way:
> > - start apache without PHP or without loading liboci8.so
> > - edit the configuration to activate OCI8 (httpd.conf or php.ini)
> > - 'apachectl graceful' (works with statically linked OCI8)
> >   or 'apachectl restart' (works with dynamically linked OCI8 only).
> > After doing so, PHP/OCI8 works fine.
> >
> > What's wrong?
> > Ruediger Schmidt
> >
> >
> >
> > --
> > 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]
> >
> >
> 
> 
> -- 
> 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]
> 




please send info about subscribing to list.

TX
M. Beckwith




When doing the make install under HPUX 11 I get an apxs error:

apxs:Error: file libs/libphp4.sl is not a DSO

I've compiled this with different compilers and still get the same
error.  I really would like to use this as a module and not have to
compile it into apache.  I even recompiled apache on my test machine to
no avail.  Has anyone seen this?  Any help would be appreciated.

Thanks
Allen
[EMAIL PROTECTED]





Allen,

The problem is that apache expects a ".so" file and it checks
for that file extension. The hp linker creates ".sl" files.

Rename libs/libphp4.sl to libs/libphp4.so
Then rerun the apxs command which was probably
/opt/apache/bin/apxs -i -a -n php4 libs/libphp4.so

Regards,
Jim Fitz


> -----Original Message-----
> From: qaball [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 7:05 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] HELP!! Error compiling php 4.0.6 on HPUX 11
> 
> 
> When doing the make install under HPUX 11 I get an apxs error:
> 
> apxs:Error: file libs/libphp4.sl is not a DSO
> 
> I've compiled this with different compilers and still get the same
> error.  I really would like to use this as a module and not have to
> compile it into apache.  I even recompiled apache on my test 
> machine to
> no avail.  Has anyone seen this?  Any help would be appreciated.
> 
> Thanks
> Allen
> [EMAIL PROTECTED]
> 
> 
> -- 
> 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]
> 




I was wondering if anyone has managed to get this working under Solaris. It
compiles okay and works as a cgi but when I compile it as the nsapi version,
edit all the scripts and move the files to the right place, on starting the
server I get the following error:

pclose() failed. (2: unknown early startup error)

Anyone know the problem and how to resolve it?

M




On 07/11/2001 somewhere around the time of 10:23 -0400, Andrew Hill spoke about "RE: 
[PHP-INST] php 4.0.6 and iodbc...additional info fo":


>Well, it's not being picked up for some reason... what shell are you using?

either csh or tsch.

>Also, please verify that you actually have a file called libiodbc.dylib.

Yup.
-- 

-Ryan

---
Mr. Ryan La Riviere
Drexel University; College of Engineering
The Drexel Engineering Curriculum
Philadelphia, PA 19104

hp: <http://staff.tdec.drexel.edu/larz/>
w: 215.895.6010


Reply via email to