#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2001
    Location
    Northern Ohio
    Posts
    74
    Rep Power
    14

    php and mysql install


    I am using Redhat 7.0 and am having a little problem. I have mysql and php installed. But as far as I can tell PHP is not configured to use MySQL. At leat I think that is the problem, I am having problems with a PHP script using mysql_connect and the script

    <? phpinfo(); ?>

    is showing that PHP is configured "--without-mysql"

    I am not sure what the problem actually is but any help would be appreciated.

    I have the following installed...

    mysql-server-3.23.32-1.7
    mysqlclient9-3.23.22-3
    php-mysql-4.0.4pl1-3
    mysql-3.23.32-1.7
    mysql-devel-3.23.32-1.7
    php-4.0.4pl1-3

    Thanks,
    Travis
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    266
    Rep Power
    13
    When you install PHP you need to specify that it will work with msyql. There is an article here that might help.

    http://www.php.net/FAQ.php#5.3

IMN logo majestic logo threadwatch logo seochat tools logo