> I would like to learn about PHP and connecting a database, etc. Is
> there/what is an open-source database suitable for learning this? Any
> good web pages with sample databases so I don't have to make one up??
> Advice? Good books? Thanks. I'm trying to avoid getting the O'Reilly
> apache book if I still need the O'Reilly SQL book or something. (Both
> would be nice, but limited rsrcs.)

MySQL is the best database for this kind of work, next would be
PostgresQL, which is probably already installed on your system (comes with
RH 5.2 and TurboLinux 3.0.1).

The Apache book from O'Reilly is really a waste of time.  For one, it was
written pre 1.3.  

Go to the php pages for info on setting it up, even with databases, here's
the general order of things:

 build & install mysql
 build gd (no need to install if you only want it for php, if you want
        to keep it around copy the libgd.a somewhere that you can find
        it again)
 unpack apache & do a ./configure (no need to build yet)
 build php --with-gd and --with-apache and --with-mysql
    (these parameters all take an =/path/to/package to tell it where
     you've put the packages -- in the case of apache this is the build
     directory.)
 make install on php, will copy the apache module into place
 re-./configure apache --activate-module=src/modules/libphp3.a 
    (this is in the php INSTALL doc)
 build and install apache


_____________________   _                    _   _________________________
         Michael Rice  |_|    Collective    |_|  http://www.colltech.com
   [EMAIL PROTECTED]    |_  Technologies  _|    8007598888/8019292 pager 
           Consultant      []            []      "The Power Of Many Minds"   


---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to