note 30479 deleted from install.unix.solaris by bjori
| From: | bjori@php.net | Date: | Wed, 22 Mar 2006 20:22:39 +0000 |
| Subject: | note 30479 deleted from install.unix.solaris by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106358@lists.php.net to get a copy of this message | ||
Note Submitter: jalw75 at yahoo dot com
----
Installing Apahce, PHP and MySQL.
I am running Sun Solaris 5.8 02/02.
I started by removing the base perl and apache packages:
SUNWapchd Apache Web Server Documentation
SUNWapchr Apache Web Server (root)
SUNWapchu Apache Web Server (usr)
SUNWpl5m Perl5 On-Line Manual Pages
SUNWpl5p Perl 5.005_03 (POD Documentation)
SUNWpl5u Perl 5.005_03
Install and configure MySQL (check out www.mysql.com).
Then I installed the following packages and tarballs.
a: gcc-2.95.3-sol8-sparc-local.Z
b: perl-5.6.1-sol8-sparc-local.Z
c: flex-2.5.4a-sol8-sparc-local
d: bison-1.34-sol8-sparc-local
e: make-3.79.1-sol8-sparc-local.Z
f: DBI-1.18
g: Net-Telnet-3.02
h: Date-Calc-5.0
Now I install Apache and PHP
1.gunzip apache_1.3.27.tar.gz
2.tar -xvf apache_1.3.27.tar
3.gunzip php-4.1.2.tar.gz
4.tar -xvf php-4.1.2.tar
5.cd apache_1.3.27
6../configure --prefix=/www --enable-module=so
7.make
8.make install
9.cd ../php-4.1.2
10../configure --with-mysql
--with-apxs=/www/bin/apxs
11.make
12.make install
Copy the php.ini file to the system from php src dir.
1. cp php.ini-dist /usr/local/lib/php.ini
Make sure the httpd.conf file has the following:
LoadModule php4_module /www/libexec/libphp4.so
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.htm index.php3
</IfModule>
AddType application/x-httpd-php .php .html .htm .php3
That's what I did ... now start apache and put in you rc scripts so it starts on boot.