Re: How I install php4 on solaris?
| From: | Nicolas Windpassinger - Sun Microsystems | Date: | Thu, 26 Oct 2000 08:56:43 +0000 |
| Subject: | Re: How I install php4 on solaris? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22090@lists.php.net to get a copy of this message | ||
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_site=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