euglug.org

[Eug-lug] Re: [EUGLUG] PHP Config Issues

작성자

카테고리:



Bill EssigMon Nov 15 15:14:24 PST 2004

Mr. Beard, IO would suggest a redhat9 rpm, which should be available at
the mysql website... as for PHP integration, MySQL runs as a standalone
service on  a port (3306), and PHP will connect to it there, on the
loopback interface (127.0.0.1)

Repectfully Submitted,
Andrew W. Wilson
Gopher Contracting

> Howdy folks,
>
> 	I've been running into some fun issues with php and was wondering if
> anyone out there had some good advice for me.
> 	I have a RedHat 9.0 system, with apache 2.0 and php 4.2.2 installed.
> The problem is that I want to run a php program that uses the mysql and
> imap modules in php.  Currently I do not have mysql compiled in.  My
> question is what is the best approach to getting it there?  I
> downloaded the 4.3.9 php source, and can compile in mysql support, but
> not imap support.  It complains about missing rfc822.h file.  So, I
> guess I need to grab this from somewhere to be able to compile it in?
> Also, am I going to shoot myself in the foot if I do a 'make install'
> of the 4.3.9 version on top of the 4.2.2 version?  Should I attempt to
> remove the 4.2.2 version first?  Is there a better way altogether that
> I'm not aware of to accomplish this?