Re: PHP for Netscape

From: Date: Wed, 04 Oct 2000 11:13:57 +0000
Subject: Re: PHP for Netscape
References: 1 2 3 4  Groups: php.install 
Request: Send a blank email to php-install+get-141@lists.php.net to get a copy of this message
When you ./configure'd PHP did you include --enable-libgcc? This should fix the symbol not found errors. Also, if you add stuff to PHP that depends on shared libraries that are not in standard places (like MySQL probably isn't) you will need to add a something like this to the server's start script: LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/<path to mysql install>/lib/mysql (the last path should point to where libmysqlclient.so lives) (I think this answers one of your later posts) Cary Thus spake Lester June Cabrera (lester@i-quest.com): > > 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 > > > 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 > > > >-- > >Cary Collett cary@ratatosk.org > >http://cary.ratatosk.org/ > > > >"To me boxing is like ballet, except that there's no music, no choreography, > >and the dancers hit eachother." -- Jack Handy > > > 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.com -- Cary Collett cary@ratatosk.org http://cary.ratatosk.org/ "To me boxing is like ballet, except that there's no music, no choreography, and the dancers hit eachother." -- Jack Handy

« previous php.install (#141) next »