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

    Join Date
    Jul 2000
    Location
    Mexico city
    Posts
    8
    Rep Power
    0
    I already installed Omni HTTPD server on C: it's working great with PHP but it's not working with mySQL i received the message

    Fatal error: Call to undefined function: mysql_connect() in C:HTTPDHTDOCSsecretDB.php

    I already uncomment the php.ini file in the Windows folder where it says extension=php_mysql.dll deleting the semi-colon.

    I also have the following dll's in the system folder in windows

    libmysql.dll
    msvcrt.dll
    php_mysql.dll
    php4ts.dll

    Please help!
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,643
    Rep Power
    4492
    under Paths and Directories

    extension_dir = d:httpdphp ; directory in which the loadable extensions (modules) reside

    add that so php knows where the mysql .dll is and it should work.

    can you get into mysql from the command line?

    ---John Holmes...
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Mexico city
    Posts
    8
    Rep Power
    0
    Thank you it's working perfectly.
    Yes I can acces mysql from the command line.

Similar Threads

  1. PHP mysql Update problem
    By phantom_turtle in forum PHP Development
    Replies: 4
    Last Post: January 27th, 2004, 04:34 AM
  2. PHP -> MySQL Query problem
    By Thr3ddy in forum MySQL Help
    Replies: 5
    Last Post: January 19th, 2004, 11:24 PM
  3. Validate PHP form and update MySQL table
    By tlugosi in forum PHP Development
    Replies: 2
    Last Post: January 18th, 2004, 02:26 PM
  4. MySQL "source" command in PHP
    By crackwombat in forum PHP Development
    Replies: 2
    Last Post: January 18th, 2004, 06:25 AM
  5. php - mysql problem
    By biswarup in forum PHP Development
    Replies: 1
    Last Post: January 16th, 2004, 11:00 AM

IMN logo majestic logo threadwatch logo seochat tools logo