Servers-Netscape, iPlanet and SunONE
This section contains notes and hints specific
to Netscape, iPlanet and SunONE webserver installs of PHP,
both for Sun Solaris and Windows versions.
From PHP 4.3.3 on you can use PHP scripts with
the NSAPI module to generate custom directory listings and
error pages. Additional functions for Apache compatibility
are also available. For support in current webservers read
the note about subrequests.
You can find more information about setting up
PHP for the Netscape Enterprise Server (NES) here: http://benoit.noss.free.fr/php/install-php4.html
Installing PHP with NES/iPlanet/SunONE Webserver on
Sun Solaris
To build PHP with NES/iPlanet/SunONE webservers,
enter the proper install directory for the --with-nsapi=[DIR]
option. The default directory is usually /opt/netscape/suitespot/.
Please also read /php-xxx-version/sapi/nsapi/nsapi-readme.txt.
-
Install the following packages from
http://www.sunfreeware.com/ or another download site:
| autoconf-2.13 |
| automake-1.4 |
| bison-1_25-sol26-sparc-local |
| flex-2_5_4a-sol26-sparc-local |
| gcc-2_95_2-sol26-sparc-local |
| gzip-1.2.4-sol26-sparc-local |
| m4-1_4-sol26-sparc-local |
| make-3_76_1-sol26-sparc-local |
|
mysql-3.23.24-beta (if you want mysql support) |
| perl-5_005_03-sol26-sparc-local |
| tar-1.13 (GNU tar) |
- Make sure your path includes the proper directories
PATH=.:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin
and make it available to your system export PATH.
-
gunzip php-x.x.x.tar.gz (if you have a .gz dist, otherwise go to 4).
-
tar xvf php-x.x.x.tar
-
Change to your extracted PHP directory: cd
../php-x.x.x
-
For the following step, make sure /opt/netscape/suitespot/ is where your netscape server is installed. Otherwise, change to the correct
path and run:
./configure --with-mysql=/usr/local/mysql \
--with-nsapi=/opt/netscape/suitespot/ \
--enable-libgcc |
-
Run make followed by make install.
After performing the base install and reading
the appropriate readme file, you may need to perform some
additional configuration steps.
Note: The stacksize that PHP uses depends on the configuration of the webserver. If
you get crashes with very large PHP scripts, it is
recommended to raise it with the Admin Server (in
the section "MAGNUS EDITOR").
|