Hi Dale,

Here is a document I put together when I built some of these servers
about 6 months ago. I had the same problems you describe, but was able
to get around them and have since repeated it on quite a few other
machines.
============================================================================

Instructions for installing PHP with Solaris 8 and iPlanet Enterprise
Server 4.1. 

Depending upon your requirements, install the following packages:

flex
gcc 
gzip 
perl
bison
make
m4(included in Solaris 8)

I also installed these packages:

autoconf
automake
mysql
gdbm
gtar
xpm
zlib
gd
libpng
jpeg
freetype
GNUm4
X11R64

After these are installed, perform the following:

1)1. gunzip php-version.tar.gz 
2)2. tar xvf php-version.tar 
3)3. cd ../php-version
/usr/netscape/server4/ is where the iPlanet server is installed by
default. If you change this, use your own path

4)./configure --with-mysql=/usr/local/mysql
--with-nsapi=/usr/netscape/server4 --enable-calendar --enable-ftp
--enable-track-vars --enable-libgcc
 (Please read the install information for specific options included with
PHP, for example, to enable on the fly graphics creation, add "--with-gd
--with-zlib --with-libpng --with-jpeg" to the line above.)
5)make 
6)su (become root)
7)make install (depending on your path, this may require you to use
something like: /usr/ccs/bin/make install)

In order to make my installations work properly, I had to create the
following symbolic link in the server root directory:

ln -s /usr/netscape/server4/plugins/include
/usr/netscape/server4/include

I also added /usr/local/lib to the LIBPATH statement in the server start
script contained in the directory
/usr/netscape/server4/https-server.domain as below:

LD_LIBRARY_PATH=${SERVER_ROOT}/bin/${PRODUCT_NAME}/lib:/usr/local/lib:${LD_LIBRARY_PATH};export
LD_LIBRARY_PATH

Next make the changes to the obj.conf file as listed in the
nsapi-readme.txt file then stop and restart your iPlanet server.

You can create a page to test php by making a new file that contains: <?
phpinfo() ?> This is all that is needed to show all php installation
options as well as lots of other useful information about php.
-- 


Good Luck!
Gary Schut

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to