Re: PHP for Netscape
| From: | Lester June Cabrera | Date: | Wed, 04 Oct 2000 19:06:53 +0000 |
| Subject: | Re: PHP for Netscape | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-133@lists.php.net to get a copy of this message | ||
This is the error I got when restarting iPlanet via command line:
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=php2. 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 At 09:31 AM 10/3/00 -0400, Cary Collett wrote:
Hmm, assuming you followed the directions in nsapi-readme.txt this has always (more or less) worked for me. I've been using gcc 2.95.2 on Solaris 2.6 and 7 and iPlanet 3.6 sp3. What compiler and server version are you using? Cary Thus spake Lester June Cabrera (lester@i-quest.com): After installing PHP w/ iPlanet in our Solaris box, I got the ff error: conf_init: Error running init function (null): unknown error These are the ff steps I did: 1. ./configure --with-nsapi=<path of iPlanet> --enable-libgcc 2. make 3. make install 4. edit mime.types 5. edit obj.conf based on nsapi-readme.txt Anybody who can guide me here? Thanks a lot, Lester -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net --Lester June Cabrera Chief Web Programmer Worldroom.com A service of I-Quest Corp Tel: (632) 867 8460 Fax: (63 2) 867 8077 E-mail: lester@i-quest.comCary Collett cary@ratatosk.orghttp://cary.ratatosk.org/ "To me boxing is like ballet, except that there's no music, no choreography, and the dancers hit eachother." -- Jack Handy