On Saturday 06 April 2002 11:12, Eric Kilgore wrote: > I'm a newbie to Linux and Apache, not so new to php itself. I'm using Red > Hat 7.2. The RPM installs apache with php, etc. as part of the standard > install but --without-mysql in the configuration. I've read quit a bit on > how you are supposed to be able to update the configuration etc. > ./configure --with-mysql=/usr/bin/mysql etc. The trouble is I have no clue > as to what directory I'm suppose to be running this in. I'm tempted to > install a newer version of PHP (Red Hat 7.2 comes with 4.0.6) as the > documentation on installing from source code seems to be a bit clearer. Can > I install over the top of the existing module or would I have to uninstall > that package first?
If all you want is to add mysql support in php then its just a matter of installation relevant RPM(s) which for RH7.2 is php-mysql-4.0.6-7.i386.rpm. I would advise against mixing RPM and source installs for Apache-PHP. My own preference is to install AMP (Apache, MySQL, PHP) from source. Search google for 'lamp php apache' to find the LAMP guide which shows you how to install all 3 from source. DevShed also has a nice guide called "The Soothingly Seamless Setup of Apache, SSL, MySQL ,and PHP". -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* As Zeus said to Narcissus, "Watch yourself." */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php