Re: mySQL installation


Subject: Re: mySQL installation
From: Michael A. Peters (Moonglue@141.com )
Date: Mon Sep 11 2000 - 14:31:35 MDT


http://24.5.29.77/info.php3

For a basic php-4.0.2 compile it isn't too involved.

with php-4.0.2 enable-gettext and enable-zlib options are broken
(they work in 4.0.1pl2 but the configure script breaks them in 4.0.2)
but most people don't try those features anyway.

Make sure you have apache-devel installed, and for php-4x with gd
support (you want gd support) you want gd-1.8.3 and gd-devel-1.8.3
installed. If they aren't on a YD mirror, I can put them on my ftp
server.

make sure to compile --with-mysql if you plan to use php with MySQL
(sounds like you do).

Finally- the way to know if it works-

testing 123 That will show what your php can do. mysql should be displayed on that page on your server if its working. You will need to modify your /etc/httpd/conf/httpd.conf file for the php- but the readme covers that. Good luck! >At 9:12 PM +0200 on 9/11/00, Michael A. Peters wrote: > > >>It sounds like you got it working- but in all honesty, the >>*easiest* way to get a good MySQL install on PowerPC is to download >>the src rpm, then >> >>rpm -U MySQL-3.23.23-whatever.src.rpm >>cd /usr/src/rpm/SPECS >>rpm -ba mysql-whatever.spec >>[[ long wait while it compiles ]] >>cd ../RPMS/ppc >> >>and all the RPM's are right there. >> >>One of the nice things about rpm install is that the dependencies >>for any rpm's you download that require MySQL will be satisfied, >>and you can check the integrity of the package (such as after a >>crash or what not) with >> >>rpm --verify packagename > >That sounds cool. Certainly easier than what I did... I'm a little >glad I learned the "hard" way though, just for future reference. ;-) > >Now I'm moving on to php. Gulp. > >I'd like to install it as an apache module, and I'm scouring the >docs and coming up with some questions... > > I've just downloaded 4.0.2 but haven't installed it yet. I read in >an earlier post that YDL doesn't come with a version of php that can >recognize mySQL. > >If I upgrade, do I have to download and recompile and reconfigure >apache too, or can I install it over my existing php3 installation? > >And.. If so, the docs mention the path to apache, but I'm not sure >what that is on my YDL system. > >Any hints? > > >Best regards, > >Gawain Reifsnyder >Guitar.net, Inc. >http://guitar.net -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michael A. Peters-- http://24.5.29.77/Linux_Pages/ http://www.omnilinux.com/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



This archive was generated by hypermail 2a24 : Mon Sep 11 2000 - 23:42:07 MDT