On Thu, 2002-12-19 at 18:37, Michael Pelley wrote:
> This is a slightly lame question, but I'm having all types of problems
> getting MySQL to work with PHP on my Red Hat 8.0 box.  I'm installing
> Apache/PHP/MySQL after the initial install.  While I ***think*** I've
> gotten all the dependencies straightened out, PHP won't find the MySQL
> directives.  I've added the extension=mysql.so to php.ini, but in
> checking, there isn't a mysql.so anywhere.  I've tried de-installing and
> then re-installing both MySQL and PHP but it doesn't seem to work.

Is PHP compiled with the option to include mysql?
The configure command should be:
./configure --with-mysql=/usr/local/mysql/
--with-apxs=/usr/local/apache/bin/apxs
if your compiling PHP from source.

I've got a nice tutorial on how to set this, if you want it mail me
off-list and I'll send it to you...

HTH
-- 
 #  Mertens Bram "M8ram"  <[EMAIL PROTECTED]>  Linux User #249103  #
 # Red Hat Linux release 7.3 (Valhalla) kernel 2.4.18-3 i686 128MB RAM #
 #  7:46pm up 3 days, 9:50, 1 user, load average: 0.22, 0.28, 0.44 #



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to