Page 1 of 1

Help - problem connecting to mysql using php4, apache 2.0

Posted: Fri Oct 18, 2002 12:33 pm
by hardawayd
I can not get php to connect to mysql for some reason. Could someone please help me. I an running redhat 8.0 apache 2.0.40, php4 and mysql.

The error I get is:

Warning: dbx: module 'mysql' not loaded.

thank you

Posted: Fri Oct 18, 2002 1:21 pm
by haagen
Have you loaded the mysql module in your php.ini?

should look something like this:

Code: Select all

extension=mysql.so
(Im not running RH) but I assume they have parted the php-package into several small. So be sure to check if you have installed the php-mysql package.

Posted: Fri Oct 18, 2002 1:50 pm
by volka

Code: Select all

<?php phpinfo(); ?>
will tell you what extensions are loaded

It is there as far as I can tell--take a look.

Posted: Fri Oct 18, 2002 2:02 pm
by hardawayd
http://donhardaway.com/info.php

Check it out. Am I missing something?