[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Howto php4/mysql install to Raq3i
- Subject: Re: [cobalt-users] Howto php4/mysql install to Raq3i
- From: Chris Fragogiannis <franki@xxxxxxxx>
- Date: Mon Jul 30 06:36:03 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
These instructions are only for RaQ3? I have a RaQ4i and I would like
to follow these steps. Will I have any problem?
At 23:32 30/7/2001, you wrote:
>This is how we did it on our raq3. Install Mysql first then PHP.
>
>
>Installing mySQL
>1. Go to Server Administration
>2. Click "Maintenance"
>3. Click "Install Software"
>4. Paste http://pkg.nl.cobalt.com/i386/RaQ3-RaQ4-MySQL-3.22.32-1.pkg into
>the URL text box and
>click "install package" (check to be sure the url is valid)
>5. telnet to the machine
>6. log in as superuser ("su")
>7. type "mysqladmin -uroot -pcobalt-mysql password NEW-PASSWORD"
>NEW-PASSWORD will be the password
>login with from now on.
>8. type exit
>9. type exit (logout out as super user)
>10. to log on to mySQL type "mysql -u root -pNEW-PASSWORD"
>
>
>
>Installing PHP
>a. before you get started make copies of the files below (note: you must be
>logged in as super user to perform all these commands)
> - /usr/sbin/httpd (from within this directory type "cp httpd
>httpd.back")
> - /etc/httpd/conf/httpd.conf (from within this directory type "cp
>httpd.conf httpd.conf.back")
> - /etc/httpd/conf/srm.conf (from within this directory type "cp srm.conf
>srm.conf.back")
>
>1. cd to /usr/sbin and open the file httpd (type "pico httpd")
>find the line below
>my $CFG_SBINDIR = '/usr/bin'; # substituted via APACI install
>replace it with the line below
>my $CFG_SBINDIR = '/usr/sbin'; # substituted via APACI install
>
>
>2. Get php from www.php.net
> - Raq3 will not support anything above PHP 4.0.4pl1 as of right now.
>(4.0.6 is the newest.)
>3. upload to directory with user access (e.g. /home/sites/home/)
>4. cd to /usr/local
>5. copy php to /usr/local directory (type "cp
>/home/sites/home/php4.0.4.tar.gz")
>6. unzip the file (type "gunzip php4.0.4.tar.gz")
>7. untar the file (type "tar -xvf php4.04.tar") this create the directory
>structure... the directory will be called php4.0.4
>8. type "./configure --with-apxs --with-mysql --enable-track-vars"
>9. type "make"
>10. type "make install"
>11. cd to /etc/httpd/conf
>12. open the httpd.conf file (type "pico httpd.conf")
>look for the line shown below
>LoadModule php4_module lib/apache/libphp4.so
>Change this line to read like the line below (Thank Paul for finding this
>tidbit!)
>LoadModule php4_module /usr/lib/apache/libphp4.so
>13. open the srm.conf file (type "pico httpd.conf")
>look for the lines below
># AddType allows you to tweak mime.types without actually editing it, or to
># make certain files to be certain types.
># Format: AddType type/subtype ext1
>
># For example, the PHP3 module (not part of the Apache distribution)
># will typically use:
>#AddType application/x-httpd-php3 .php3
>#AddType application/x-httpd-php3-source .phps
># The following is for PHP/FI (PHP2):
>#AddType application/x-httpd-php .phtml
>
>Change this to read like below
># AddType allows you to tweak mime.types without actually editing it, or to
># make certain files to be certain types.
># Format: AddType type/subtype ext1
>
># For example, the PHP3 module (not part of the Apache distribution)
># will typically use:
>AddType application/x-httpd-php .php
>AddType application/x-httpd-php .php3
>AddType application/x-httpd-php-source .phps
># The following is for PHP/FI (PHP2):
>#AddType application/x-httpd-php .phtml
>
>14. Restart the server
>15. Everything should be working now
>
>There you go. That is exactly what we did to get it to work after many
>tries!
>
>
>--
>
>Kody
>
>
>> I need a good howto to install PHP4 and MySql for Raq3i
>>
>> What is recomended to instal 1st (RAQ3i) : php or mysql ?
>>
>> Regards
>> Marcus
>>
>> _______________________________________________
>> cobalt-users mailing list
>> cobalt-users@xxxxxxxxxxxxxxx
>> To Subscribe or Unsubscribe, please go to:
>> http://list.cobalt.com/mailman/listinfo/cobalt-users
>>
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users