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

    Join Date
    Jan 2000
    Location
    Hong Kong
    Posts
    1
    Rep Power
    0
    Hi, i have a problem. The server seems functioning well, except MySQL. I have install MySQL rpms for server, share and client. But when I access database through php3, I keep on receive the error:
    Fatal Error, unsupported commands of mysql_connect() in xxx.php3

    Can anyone help me ?
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    18
    Assuming your MySQL installation is correct (which you can verify by attempting to connect via the command line), did you uncomment the mysql.dll line from the php3.ini file?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Calcutta, West Bengal, India
    Posts
    25
    Rep Power
    0
    Since the issue is on Red Hat Linux 6, where does a .dll file come into the picture ?

    Even I am facing the same problem. This is because the PHP RPM does not install the database support for Mysql.

    What is the get-aroung for this problem ? Or do we have to 'make' from a fresh source instead of installing from a RPM.
  6. #4
  7. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    18
    Ahh, missed the rpm part and the subject line evidently. You'd need to find an RPM that had mysql support compiled in or make.

Similar Threads

  1. Building Apache, MySQL, and PHP on Mac OS X
    By guest in forum Development Articles
    Replies: 273
    Last Post: September 2nd, 2003, 11:40 AM
  2. Newest Versions of Apache 2, Php 4, MySQL on Red Hat 9
    By Whoonose in forum Apache Development
    Replies: 0
    Last Post: May 19th, 2003, 05:40 PM
  3. Need help, mySQL with apache
    By king_killa in forum Apache Development
    Replies: 4
    Last Post: March 28th, 2003, 05:42 AM
  4. adding Apache to Redhat startup
    By DC Dalton in forum Linux Help
    Replies: 13
    Last Post: February 25th, 2003, 04:49 PM
  5. Replies: 0
    Last Post: January 10th, 2002, 01:14 PM

IMN logo majestic logo threadwatch logo seochat tools logo