It was my understanding that php to access mysql, you need to compile
php up with the
--with-mysql=/usr/local/mysql (or where ever your mysql is installed).
option,
so get the source and have a play.
your also going to have a fiddle with apache, and get it to load your
newly built php module in.
http://hotwired.lycos.com/webmonkey/00/44/index4a.html
http://hotwired.lycos.com/webmonkey/99/21/index2a_page3.html?tw=programming
Although it sounds kinda hard, try it, you'll find you learn loadsa
about how php/apache/linux hang together.....
laters,
Lee
'use the source, luke'
On Mon, 2002-04-22 at 00:53, Tom Allender wrote:
> Gareth Harcombe-Minson wrote:
> > Ah. I knew i shouldv'e installed mySQL when i installed RH on the server ...
> > :(
> >
> > Is there any way of getting mySQL integrated into the PHP that is installed
> > with apache without reinstalling Red Hat?
>
> I'm not sure I follow you. MySQL doesn't have to directly integrate with
> PHP, the information is transferred over a network connection. I.e. you
> can use the RedHat version of Apache and PHP and the MySQL that you
> compiled yourself together. That's not a promise - it'll probably work.
>
> RedHat places the MySQL modules for PHP in a separate RPM file:
> php-mysql-4.0.6-7.i386.rpm in 7.2.
>
> > I know that the apache I already use has got PHP working, just not
> > with the mySQL functions..
>
> rpm -Uvh php-mysql-*.rpm
>
> HTH,
>
> Tom.
>
> --------------------------------------------------------------------
> http://www.lug.org.uk http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk http://www.linuxshop.co.uk
> --------------------------------------------------------------------
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------
This archive was generated by hypermail 2.1.3 : Mon 22 Apr 2002 - 10:32:11 BST