#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    Hi,

    Can anyone tell me what´s mean this error message:
    ------------------------------------------
    Fatal error: Call to unsupported or undefined function mysql_connect() in D:TEMPteste.php3 on line 2
    -------------------------------------------

    TIA.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    1
    Rep Power
    0
    Well, from what I have read it means that you have not compiled mysql into php. Although since I am having the same problem (and I was told that everything is compiled correctly...) My suggestion to you would be to make sure that you have the correct modules installed. Either way, let me know so I can figure out why I am getting the same error.

    ------------------
    Ollie Townsend III
    ot3@netapex.com
    NetApex - President
    http://www.netapex.com
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    3
    Rep Power
    0
    Yep. You'll need to re-compile PHP with support for MySQL. That's done with:

    ./configure --with-mysql=/path_to_mysql --other_things

    A RedHat 6.2 Web Server install includes Apache pre-compiled with support for PHP (with support for PostGreSQL), but the PHP doesn't have support compiled for MySQL. I have always re-compiled Apache, PHP and MySQL to get this done.

    Good luck!

Similar Threads

  1. mySQL or PHP or configuration bug?
    By kurt|ss- in forum MySQL Help
    Replies: 6
    Last Post: July 2nd, 2003, 11:59 AM
  2. Replies: 0
    Last Post: June 28th, 2003, 03:41 PM
  3. PHP Connecting to MySQL Problems
    By m3avrck in forum MySQL Help
    Replies: 4
    Last Post: December 5th, 2002, 11:06 AM
  4. PHP not talking to mySQL
    By pandemus in forum MySQL Help
    Replies: 1
    Last Post: November 30th, 2001, 09:25 AM
  5. MySQL PHP problem
    By The Pie Man in forum PHP Development
    Replies: 6
    Last Post: April 24th, 2001, 06:17 PM

IMN logo majestic logo threadwatch logo seochat tools logo