note 30479 added to install.solaris

From: Date: Wed, 19 Mar 2003 13:53:04 +0000
Subject: note 30479 added to install.solaris
Groups: php.notes 
Request: Send a blank email to php-notes+get-45519@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/install.solaris.php http://master.php.net/manage/user-notes.php?action=edit+30479 http://master.php.net/manage/user-notes.php?action=delete+30479 http://master.php.net/manage/user-notes.php?action=reject+30479

« previous php.notes (#45519) next »