[PHP-DEV] Bug #7016 Updated: Error when starting iPlanet From: sniper <email protected>
Date: 04/30/01

ID: 7016
Updated by: sniper
Reported By: lester <email protected>
Old-Status: Open
Status: Feedback
Bug Type: iPlanet related
PHP Version: 4.0.2
Assigned To:
Comments:

status -> feedback

Previous Comments:
---------------------------------------------------------------------------

[2001-04-30 04:43:38] avsm <email protected>
Try the following obj.conf entry, and see if it fixes your problem. Apart from this change, you should follow the manual entry for the rest of the obj.conf

Init fn="load-modules" shlib="/path/to/server4/bin/libphp4.so" funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
Init fn="php4_init" LateInit="yes"

---------------------------------------------------------------------------

[2000-11-03 21:01:15] sniper <email protected>
reclassified

---------------------------------------------------------------------------

[2000-10-04 12:41:54] lester <email protected>
This is the error I got when restarting iPlanet via command line after installing PHP4 w/o any errors showing up:

conf_init: Error running init function load-modules: dlopen of /usr/netscape/server/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal: relocation error: file /usr/netscape/server/bin/libphp4.so: symbol __pure_virtual: referenced symbol not found)

Can you give me an ideas on what's going on here? Thanks.

========================================================================

We're using the GCC2.95.2 also. After configure, make and make install, these are the steps I did:

1. add the ff line in mime.types
type=magnus-internal/x-httpd-php exts=php

2. edit obj.conf
# note place following two lines after mime types init!
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/netscape/server/bin/libphp4.so"
Init fn=php4_init errorString="Failed to initialize PHP!"

<Object name="default">
.
.
. # NOTE this next line should happen after all 'ObjectType' and before all 'AddLog' lines
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
.
.
</Object>

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

Are these correct?

Thanks,
Lester

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7016&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>