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

RE: [cobalt-users] php4



SETTING UP PHP AND MYSQL ON THE COBALT SERVER

INSTALL MYSQL FIRST!!!!!!!!!

Pre-requisite.   MYSQL must be installed BEFORE setting up PHP.

You can use the following files to install MYSQL located in

This version of MySQL is 3.22.32

MySQL-3.22.32-1.i386.rpm
MySQL-client-3.22.32-1.i386.rpm
MySQL-devel-3.22.32-1.i386.rpm

rpm -Uvh nameof-file.rpm

The file should upload cleanly.

Afterwards, MySQL will ask you to set the root database password;

follow the instructions.  Don't forget to reboot the server if necessary

--------- PHP 4.0.2 INSTALL --------

NOTE: Cobalt has a MySQL .pkg file at http://pkg.nl.cobalt.com/

The following instructions are for installling PHP 4.0.2 on the Cobalt RaQ.

NOTE:  FOLLOWING THESE INSTRUCTIONS MAY VOID YOUR WARRANTY WITH COBALT

ROOT TO SERVER, CREATE A TEMP DIRECTORY... CALL THE TEMP DIRECTORY WHATEVER
YOU WISH

NOW DOWNLOAD THE PHP FILES FROM
http://rpms.arvin.dk/php/

NOTE, THE SITE ABOVE HAS NEW PHP 4.0.3, SO SUBSTITUTE THESE FILES FOR
THE ONES BELOW

php-4.0.2-5.i586.rpm    (main PHP engine)
php-mysql-4.0.2-5.i586.rpm
php-devel-4.0.2-5.i586.rpm
php-imap-4.0.2-5.i586.rpm
php-gd-4.0.2-5.i586.rpm  (note, requires gd-1.3-6.i386.rpm)
gd-1.3-6.i386.rpm
php-misc-4.0.2-5.i586.rpm
php-pgsql-4.0.2-5.i586.rpm    (requires Postreg SQL 7 to be installed)

NOW, UPLOAD THEM TO YOUR SERVER TO THE TEMP DIRECTORY

[su]# rpm -Uvh

rpm -Uvh php-4.0.2-5.i586.rpm    (main PHP engine)
rpm -Uvh php-mysql-4.0.2-5.i586.rpm
rpm -Uvh php-devel-4.0.2-5.i586.rpm
rpm -Uvh php-imap-4.0.2-5.i586.rpm
rpm -Uvh php-gd-4.0.2-5.i586.rpm  (note, requires gd-1.3-6.i386.rpm)
rpm -Uvh gd-1.3-6.i386.rpm
rpm -Uvh php-misc-4.0.2-5.i586.rpm
rpm -Uvh php-pgsql-4.0.2-5.i586.rpm    (requires Postreg SQL 7 to be
installed)


You should not get any error messages.  If you do, go back and review your
steps to make sure you have not made any errors.

Good Luck.

>>>