[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] PHP4 + MySQL on Cobalt Raq3 HOWTO -- NEED guinea pigs!



I'm getting a failed dependency

error: failed dependencies:
	webserver >= 1.3.12 is needed by mod_php-4.0.3pl1-5.arvin

Does this mean I need an Apache upgrade?


From: Ricky Dhatt <ricky@xxxxxxxxxxxxxxxxx>
Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: [cobalt-developers] PHP4 + MySQL on Cobalt Raq3 HOWTO -- NEED guinea pigs!
Date: Tue, 5 Sep 2000 22:47:44 -0700 (PDT)

Hey - this is a quick HOWTO on setting up PHP4+MySQL rpms on a Raq3.  I I
did this completely from memory, so I may have forgotten a step or
two.  And I'm not sure if wildcards work on rpm.  So if I may ask some
brave souls to try this out on their Raq3s, or just have some
experienced people just read over, I'd appreciate it!! I've tried
to make it clear and dummy-proof as possible.

--Ricky

------------------------------------------------------------
PHP4 + MySQL on Cobalt Raq3 HOWTO

This HOWTO will require you to work on the command shell.  To do so,
telnet (or preferably SSH) to your server using the hostname (ie
cobalt.com) or IP (ie 63.77.128.100). Once you've successfully logged in,
we'll make a directory to keep your downloaded files in.  You're more than
welcome to delete them after completing installation.  To make a new
directory, type:

mkdir rpms

This will create a directory called rpms, you may name yours whatever you
like.  Change to your new directory by typing:

cd rpms

Now you'll need to start retriving the nescessary files.  We'll use wget,
a utility to retrieve files from the World Wide Web without using a
full-fledged browser.  Here are the commands (this is the most time
consuming step):

wget http://www.mysql.com/Downloads/MySQL-3.23/MySQL-3.23.23-1.i386.rpm
wget http://www.mysql.com/Downloads/MySQL-3.23/MySQL-bench-3.23.23-1.i386.rpm wget http://www.mysql.com/Downloads/MySQL-3.23/MySQL-client-3.23.23-1.i386.rpm wget http://www.mysql.com/Downloads/MySQL-3.23/MySQL-devel-3.23.23-1.i386.rpm wget http://www.mysql.com/Downloads/MySQL-3.23/MySQL-shared-3.23.23-1.i386.rpm wget http://fsr.ku.dk/people/troels/rpms/php/install-ready/i586/php-4.0.2-2.i586.rpm wget http://fsr.ku.dk/people/troels/rpms/php/install-ready/i586/php-mysql-4.0.2-2.i586.rpm

Finally you're ready to install.  First you'll need to become root:

su

then enter your password when it prompts you to.  Now invoke the installer
program, rpm:

rpm -Uvh MySQL-*
rpm -Uvh php-*

Alright! All the nescessary files are in place!  To activate PHP,
you'll need to restart the web server:

/etc/rc.d/init.d/httpd restart

You're done!  To test PHP, create a file in one your web directories named
something.php with the following:

<?php phpinfo(); ?>

Fire up your web browser the appropriate URL, and you should see the PHP4
logo.  Congrats!

--Ricky Dhatt, Sept 00.

Websites:
MySQL: http://www.mysql.com/
PHP: http://www.php.net/
PHP4 RPM site: http://fsr.ku.dk/people/troels/rpms/php/

For the curious:
su stands for SuperUser, which basically means you become the root user.

wget is a utility to retrieve files from the World Wide Web without using
a full-fledged browser.

rpm stands for Redhat Package Manager, which neatly installs pre-compiled
programs on your server.


--Ricky Dhatt
Software Developer
Electric Arrow Web Development Studio
Phone: 206-381-5853



_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com