[TriLUG] Lamp is lit!!!!

William Sutton william at trilug.org
Sat Mar 31 02:35:47 EDT 2007


Just for the record and future googlers out there, what was your final 
solution?

-- 
William Sutton


On Fri, 30 Mar 2007, J.C. Jones wrote:

> All,
> 
> Thanks everyone who came to my aid. My webserver is performing as it did 
> when RH 9.0 was the o/s, Only better with FC5.
> 
> jcj
> 
> J.C. Jones wrote:
> 
> > Noah,
> >
> > After writing that email, I began searching for tips on how to compile 
> > php with mysql. I stumbled on php-mysql ( which I believe one of the 
> > earlier respondents made mention of.. I am in the process of loading 
> > that as I write this email.
> >
> > Thanks for all the respondents to my problem. Hopefully it is now 
> > solved. If not, I will be back with pleas for more help.
> >
> > jcj
> >
> > Noah Fontes wrote:
> >
> >> J.C. Jones wrote:
> >>
> >>> Mike, Lance and all other php/mysql users.
> >>>
> >>> After reading and reading in php documentation, I find:
> >>>
> >>> MySQL Functions
> >>> Introduction
> >>> These functions allow you to access MySQL database servers. More 
> >>> information about MySQL can be found at » http://www.mysql.com/.
> >>> Documentation for MySQL can be found at » http://dev.mysql.com/doc/.
> >>> Requirements
> >>> In order to have these functions available, you must compile PHP 
> >>> with MySQL support.
> >>>
> >>> PHP 5+
> >>> MySQL is not enabled by default, nor is the MySQL library bundled 
> >>> with PHP. Read this FAQ for details on why. Use the 
> >>> --with-mysql[=DIR] configure option to include MySQL support. You 
> >>> can download headers and libraries from » MySQL.
> >>>
> >>> The way that I read it, I have to compile php using 
> >>> --with-mysql[=DIR] .  This will be a first for me. Up to now, I have 
> >>> used rpm, deb, and other binaries. I have never had to compile 
> >>> anything other than hello.c or something that small.
> >>>
> >>> Wish me good luck :-) Any hints for compiling on Fedora Core 5 would 
> >>> be appreciated.
> >>>
> >>> jcj
> >>
> >>
> >>
> >> The PHP documentation is referring specifically to how to build the 
> >> package from source there.
> >>
> >> The RPM package maintainers will (should) build the package with the 
> >> MySQL module shared so it can be split off into a separate package. 
> >> Chances are the package you need is named something like php5-mysql 
> >> or php-mysql; just use yum to grab it. That'll install the .so you're 
> >> missing.
> >>
> >> Good luck,
> >>
> >
> 
> 



More information about the TriLUG mailing list