Hi,

We're having trouble getting PHP 4.0.4pl1 to work properly on an iPlanet
Enterprise Server 4.1sp5 on Solaris 8.  We've followed the instructions on
building with nsapi (having found and fixed the configure problem so we
could get it to build) including the helpful web-page that Benoit Noss
produced.  The installation seems to partially work in that it executes
the PHP on our pages, but Forms using the POST method don't work at all -
they cause the browser to redirect to the site's root page instead. 
Loading a page that just runs phpinfo() shows a very strange environment -
all the environment variables match those of the server at startup, down
to the REQUEST_METHOD and CONTENT_TYPE of the CGI form that our sysadmin
uses to start the server running (which may explain why Forms don't
work).  Also, the phpinfo() output appears to be truncated in the middle
of the PHP Variables table at the point where it should include the value
of the first server variable HTTP_SERVER_VARS["QUERY_STRING"].  Here's the
build configuration:

./configure --prefix=/opt/local/php --exec-prefix=/opt/local/php
--with-mysql=/usr/local/mysql --without-gd
--with-nsapi=/usr/local/iplanet/server4 --with-config-file-path=/etc
--enable-libgcc

uname -a returns  SunOS epics 5.8 Generic_108528-04 sun4u sparc
SUNW,Ultra-80

The output from a page that just contains "<? phpinfo(); ?>" finishes as
follows:

<H2 align="center">PHP Variables</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000"
ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Variable</TH><TH>Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"
><B>PHP_SELF</B></td><TD ALIGN="left">/~anj/phpinfo.php</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD
BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["QUERY_STRING"]</B></TD><TD>

-- ie in mid-table, and without the stuff about the PHP License that
should come afterwards.  Also on this page, the PHP logo and Zend logos in
the first table are broken because the URL for the image doesn't include
the filename:

<img src="?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" border=0
align="right" alt="PHP Logo">

There are no error messages in the server logfile, although I do get the
expected startup message:

php4_init reports: Initialized PHP Module

Any ideas?

- Andrew
-- 
Every great idea appears crazy to start with.

-- 
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]

Reply via email to