php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16996 unable to get php working through iPlanet
Submitted: 2002-05-03 15:04 UTC Modified: 2004-07-06 01:00 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: william dot white at epredix dot com Assigned:
Status: No Feedback Package: iPlanet related
PHP Version: 4.3.7 OS: Solaris 8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: william dot white at epredix dot com
New email:
PHP Version: OS:

 

 [2002-05-03 15:04 UTC] william dot white at epredix dot com
We're been unable to get php4 running as a nsapi module on iplanet 4.1
 
we have been using the instructions specified on http://benoit.noss.free.fr/php/install-php4.html and on http://php.ca/manual/en/install.netscape-enterprise.php 
 
we used the following configure command: 
 
/configure --without-mysql --with-nsapi=/u01/apps/netscape/server4/ --enable-track-vars --enable-libgcc 
make 
make install 
 
this appears to have worked.  there are no error messages reported.  I can execute php files on the server manually using the command: 
 
php test.php 
 
and they get interpreted properly. sounds good right? 
 
we have updated the netscape config files, mimetypes, etc.. as per the instructions, the server sees that their are configuration changes and starts without any problems but when I go to access a .php page through iPlanet I get a File Not Found / DNS error? the server runs fine otherwise, it serves up .html, .gif, .jpg, etc. files without any problems. it also does not crash when we try to access a php page - it just says "File Not Found" in the browser window??? 
 
if I look at the iPlanet error logs, I see the entry: 
 
[02/May/2002:11:02:11] info (18431): php4_init reports: Initialized PHP Module 
 
[02/May/2002:11:02:11] info (18431): php4_init reports: Initialized PHP Module 
 
[02/May/2002:11:02:12] info (18432): php4_init reports: Initialized PHP Module 
 
[02/May/2002:11:02:12] info (18432): php4_init reports: Initialized PHP Module 
 
for every single request of one .php file... 
 
we are also using coldfusion through iplanet using nsapi

obj.conf: 
 
Init fn="flex-init" access="/u01/apps/netscape/server4/https-coogee/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-u 
ser% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%" 
Init fn="load-modules" shlib="/u01/apps/netscape/server4/plugins/coldfusion/coldfusion.so" funcs="DoCFRequest" 
Init fn="load-types" mime-types="mime.types" 
Init fn="load-modules" shlib="/u01/apps/netscape/server4/bin/libphp4.so" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" 
Init fn="php4_init" LateInit="yes" 

<Object name="default"> 
AuthTrans fn=php4_auth_trans 
NameTrans fn="assign-name" from="/servlets/*" name="servlet" 
NameTrans fn="assign-name" from="/examples/*" name="servlet" 
NameTrans fn="pfx2dir" from="/coldfusion" dir="/u01/apps/coldfusion/docs" 
NameTrans fn="pfx2dir" from="/cgi-bin" dir="/u01/apps/netscape/server4/docs/cgi-bin" name="cgi" 
NameTrans fn="pfx2dir" from="/release" dir="/u01/apps/netscape/server4/docs/cgi-bin" 
NameTrans fn="pfx2dir" from="/oracle" dir="/u01/apps/oracle/product/8.1.6/doc" 
NameTrans fn="pfx2dir" from="/ns-icons" dir="/u01/apps/netscape/server4/ns-icons" name="es-internal" 
NameTrans fn="pfx2dir" from="/mc-icons" dir="/u01/apps/netscape/server4/ns-icons" name="es-internal" 
NameTrans fn="pfx2dir" from="/viewer" dir="/viewer/LogViewer1.02/index.cfm" 
NameTrans fn="pfx2dir" from="/help" dir="/u01/apps/netscape/server4/manual/https/ug" name="es-internal" 
NameTrans fn="pfx2dir" from="/manual" dir="/u01/apps/netscape/server4/manual/https" name="es-internal" 
NameTrans fn="document-root" root="/u01/stage/dev" 
PathCheck fn="unix-uri-clean" 
PathCheck fn="find-pathinfo" 
PathCheck fn="find-index" index-names="index.html,home.html" 
PathCheck fn="check-acl" acl="default" 
ObjectType fn="type-by-extension" 
ObjectType fn="force-type" type="text/plain" 
Service fn="php4_execute" type="magnus-internal/x-httpd-php" 
Service fn="DoCFRequest" method="(GET|POST)" type="magnus-internal/cold-fusion" 
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap" 
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common" 
Service fn="send-cgi" type="magnus-internal/cgi" 
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" 
AddLog fn="flex-log" name="access" 
</Object> 
.
.

<Object name="x-httpd-php"> 
ObjectType fn="force-type" type="magnus-internal/x-httpd-php" 
Service fn=php4_execute 
</Object> 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-18 04:55 UTC] derick@php.net
Can you check whether iPlanet tries to interpret the correct file (should be in your log).

Derick
 [2002-08-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2004-06-28 11:34 UTC] masro at llbc dot de
Bug is also present in 4.3.7 may be a Problem with Threading/OCI/Iplanet/PHP

more info here:
http://article.gmane.org/gmane.comp.php.general/97197
and here:
http://article.gmane.org/gmane.comp.php.general/97519
 [2004-06-28 13:39 UTC] thetaphi@php.net
Please use the newest SnONE webserver 6.1 or 6.0. Older versions are not 100% POSIX thread compatible and fail when using some extensions that need POSIX (even PHP is not stable)
 [2004-07-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-02-07 18:39 UTC] ketung dot hsial at losangeles dot af dot mil
I'm runing IPlanet 6.1.4 and PHP 4/3/2 on SunSolaris.
The Iplanet server degraded over the duringing of a year and
finally won't start.
The phpinfo.php give erroneous output
for Buid Date, it report the old report date.
I've been searching for the source for phpinfo.php,
but no luck yet.

I'd like to hear anyone who has any insight on this.
Thanks.



Attemt to run Iplant 6.1SP6 failied. The server crash
upon start.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 02 14:03:42 2021 UTC