Re: newbie configuration question
| From: | Jason Wong | Date: | Sat, 06 Apr 2002 05:05:14 +0000 |
| Subject: | Re: newbie configuration question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91837@lists.php.net to get a copy of this message | ||
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."
*/