php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7016 Error when starting iPlanet
Submitted: 2000-10-04 12:41 UTC Modified: 2001-05-22 03:25 UTC
From: lester at i-quest dot com Assigned:
Status: Closed Package: iPlanet related
PHP Version: 4.0.2 OS: Solaris 7
Private report: No CVE-ID: None
 [2000-10-04 12:41 UTC] lester at i-quest dot com
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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-03 21:01 UTC] sniper@php.net
reclassified
 [2001-04-30 04:43 UTC] avsm@php.net
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" 
 [2001-04-30 16:43 UTC] sniper@php.net
status -> feedback
 [2001-05-22 00:55 UTC] derick@php.net
Closing because of no feedback
 [2001-05-22 03:25 UTC] lester at i-quest dot com
I just reinstalled iPlanet w/ PHP and it's working fine now. Maybe I missed during the my first install. Thanks. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC