Bug #16996 Updated: unable to get php working through iPlanet
ID: 16996
Updated by: derick@php.net
Reported By: william.white@epredix.com
-Status: Open
+Status: Feedback
Bug Type: iPlanet related
Operating System: Solaris 8
PHP Version: 4.2.0
New Comment:
Can you check whether iPlanet tries to interpret the correct file
(should be in your log).
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-05-03 15:04:07] william.white@epredix.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>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16996&edit=1
Thread (7 messages)