Re: [PHP] newbie configuration question

2002-04-08 Thread Erik Price


On Friday, April 5, 2002, at 10:12  PM, 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 you are still having trouble with this, I have a log of a PHP upgrade 
that will show you how I went about it.  But you've probably solved your 
problem by now.

Needless to say, the source install is highly configurable and not very 
difficult, I recommend it over the RPM in almost any situation.


Erik






Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] newbie configuration question

2002-04-05 Thread Bob

Just install the source RPM, change the option and rebuild the RPM..
Then -Fvh it and it should be the way you want it. This is after all the
reason they include the source files with Linux..

Later,

Bob
- Original Message -
From: "Eric Kilgore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 10:19 PM
Subject: RE: [PHP] newbie configuration question


> Interestingly, php-mysql-4.0.6-7.i38.rpm is installed, but phpinfo still
> shows --without-mysql
>
>
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 05, 2002 9:05 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] newbie configuration question
>
>
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] newbie configuration question

2002-04-05 Thread Eric Kilgore

Interestingly, php-mysql-4.0.6-7.i38.rpm is installed, but phpinfo still
shows --without-mysql


-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 9:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] newbie configuration question


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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] newbie configuration question

2002-04-05 Thread Jason Wong

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




[PHP] newbie configuration question

2002-04-05 Thread Eric Kilgore

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?

Any help would be greatly appreciated.

Eric


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php