Heres my config for solaris 8 install. Don't forget to install GCC , BISON,
AUTOMAKE, AUTOCONF as solaris standard doesn't come with all of these ( you
may not need all of them but they are what I installed)

APACHE-1.3.12
../configure --with-layout=Apache --prefix=/usr/local/apache
--enable-module=so --enable-module=rewrite --enable-module=log_referer
--enable-module=info --enable-module=status
--add-module=src/modules/standard/mod_rewrite.c
--add-module=src/modules/standard/mod_log_referer.c
--add-module=src/modules/standard/mod_info.c
--add-module=src/modules/standard/mod_status.c --enable-shared=max
--server-uid=oracle --server-gid=dba

PHP-4.0.2
../configure --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars=yes
--enable-bcmatch=yes --enable-memory-limit=yes --enable-magic-quotes=yes
--enable-trans-sid=yes --enable-nodebug=yes --enable-libgcc

-----Original Message-----
From: Nicolas Windpassinger - Sun Microsystems
[mailto:nicolas.windpassinger@sun.com]
Sent: Thursday, October 26, 2000 09:57
To: hotfire; php-general@lists.php.net
Subject: Re: [PHP] How I install php4 on solaris?


hotfire wrote:

> Dear sir,
> I want to install php4 on solaris, but someone tell me it can't install
> on solaris. So I ask for help. Who is success install php4 on solaris.

Please tell me how to install it on solaris. thanks.
>


of course you can install it on Solaris ;-)))
BEcarefull what you want: php4 as a module, or php4 as an interpreter??

in the 2 cases you have to download it, here is what i did: ( as i remember
it...)
rem i tokk a mysql database.....other databases are of course possible....

downloaded php4 on php.net:
http://www.php.net/do_download.php?download_file=php-4.0.2.tar.gz&source_sit
e=www.php.net
downloaded apache version on apache.org for solaris version. you have to
take the one corresponding to your solaris version,
mine was 2.8, put the 2.7 fits as well.
here is the one i took: apache_1.3.12.tar
downloaded MySQL: mysql.org i think

ok now the fun part:

install apache
install MySQL server.(look at the install file)
install php4 with --with-apache=/path/to/your/apache

for apache:
then make sure apache recognised th php4 module! put in the
src/configuration file: AddModule modules/php4/libphp4.a
and then ./configure and finally make

please email if you you did not understand or have pbs......i did all this
by memory....
have fun,
nicolas




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net