RE: [PHP-INST] Re: Need help with NSAPI on Solaris - crashes serv er - fixed
| From: | Sloey, James | Date: | Thu, 11 Oct 2001 20:32:02 +0000 |
| Subject: | RE: [PHP-INST] Re: Need help with NSAPI on Solaris - crashes serv er - fixed | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4605@lists.php.net to get a copy of this message | ||
Great! The php4-200110110600 worked perfectly.
Thanks!
-----Original Message-----
From: Aki Häkkilä [mailto:aki.hakkila@sonera.com]
Sent: Thursday, October 11, 2001 2:32 AM
To: Sloey, James
Subject: Re: [PHP-INST] Re: Need help with NSAPI on Solaris - crashes
serv er
This is my original bug report:
http://bugs.php.net/bug.php?id=13174
You can find the configure switches etc. there.
"Sloey, James" wrote:
>
> The article says:
> "NSAPI does not support pthreads. Attempting to use pthreads causes the
> web server to crash."
> What switches did you use for configure?
>
> -----Original Message-----
> From: Aki Häkkilä [mailto:aki.hakkila@sonera.com]
> Sent: Wednesday, October 10, 2001 10:34 AM
> To: php-install@lists.php.net; James Sloey
> Subject: [PHP-INST] Re: Need help with NSAPI on Solaris - crashes server
>
> I have managed to start iPlanet with the latest snapshot, but I haven't
> tested it too much yet. That version uses pthreads, the NSAPI functions
> were removed for some reason.
>
> Here is the knowledgebase article that suggests using NSAPI thread
> functions.
> http://knowledgebase.iplanet.com/ikb/kb/articles/4580.html
>
> James Sloey wrote:
> >
> > I'm running Solaris 7 with iPlanet 4.1SP2 and trying to use NSAPI. I
used:
> >
> > ./configure --with-oci8=/u01/app/oracle/product/8.0.5 --enable-sigchild
> > --with-nsapi=/u01/app/netscape
> >
> > As soon as the php4_init is called the server crashes. I went to the
> iPlanet
> > knowledge base and it says that pthreads can't be used with NSAPI.
> >
> > When I tried to turn them off in configure ZEND blows up with:
> >
> > Making all in Zend
> > /bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I.
> > -I../main
> > -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> > -DSUPPORT_
> > UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -pthreads -c
> > zend_language_scanne
> > r_cc.cc
> > In file included from zend_alloc.h:27,
> > from zend.h:135,
> > from zend_language_scanner_cc.cc:2661:
> > ../TSRM/TSRM.h:83: type specifier omitted for parameter
> > ../TSRM/TSRM.h:83: parse error before `*'
> > ../TSRM/TSRM.h:101: syntax error before `('
> > ../TSRM/TSRM.h:102: syntax error before `('
> > ../TSRM/TSRM.h:103: `MUTEX_T' was not declared in this scope
> > ../TSRM/TSRM.h:103: parse error before `)'
> > ../TSRM/TSRM.h:104: `MUTEX_T' was not declared in this scope
> > ../TSRM/TSRM.h:104: parse error before `)'
> > ../TSRM/TSRM.h:105: `MUTEX_T' was not declared in this scope
> > ../TSRM/TSRM.h:105: parse error before `)'
> > ../TSRM/TSRM.h:107: `THREAD_T' was not declared in this scope
> > ../TSRM/TSRM.h:107: parse error before `)'
> > ../TSRM/TSRM.h:108: `THREAD_T' was not declared in this scope
> > ../TSRM/TSRM.h:108: parse error before `)'
> > *** Error code 1
> > make: Fatal error: Command failed for target
`zend_language_scanner_cc.lo'
> > Current working directory /export/home/jsloey/php-4.0.6/Zend
> > *** Error code 1
> > make: Fatal error: Command failed for target `all-recursive'
> >
> > I'm clueless as this is my first php install. Any help would be
> > appreciated.
> >
> > _____
> >
> > <mailto:james.sloey@usa.xerox.com> Jim Sloey
> > 2613 W. Henrietta Rd. 868 - 01H
> > Rochester, New York 14623 U.S.A.
> > <http://www.xerox.com> Xerox - eServices
> > Phone: 716.427.4584 / 8*227.4584
> > Fax : 716.427.4196 / 8*227.4196
> >
> >
>
<mailto:1613581@pagemart.net?subject=Please%20Call%20Me&cc=james.sloey%40usa
> > .xerox.com> Pager: 716.246.2604 / 9*246.2604
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net