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:[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]?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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]