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

    Join Date
    Mar 2000
    Location
    Boston, MA
    Posts
    54
    Rep Power
    15
    Hello to all....
    im getting the folloing message when i try to connect to MySQL using php3 and apache on linux 6.2 box.

    Fatal error: Call to unsupported or undefined function mysql_connect() in /home/httpd/html/test-code/DB_stuff/select.php3 on line 7

    everything looks good in my php3.ini file
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre> extension=mysql.so [/code] is not comment out, however i was not able to find <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre> mysql.so [/code] in my box i assume i need it but where do i place it?

    thank-Q in advance!
    Mike
    Linux,php3,MySQL
    newbie


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

    Join Date
    Mar 2000
    Location
    Ontario, Canada
    Posts
    498
    Rep Power
    18
    Put the modules in whichever directory you have the include part of /etc/php3.ini set to, eg;
    include = "/var/lib/php/mods/";


    I forget what the section is named, but I know that's the problem you're having... I've had it before, too.



    ------------------
    To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

Similar Threads

  1. Fatal error: call to undefined function: mime_content_type()
    By jaypeesol in forum PHP Development
    Replies: 2
    Last Post: February 12th, 2004, 12:52 PM
  2. Codepupil
    By Adachic in forum C Programming
    Replies: 3
    Last Post: February 6th, 2004, 06:50 PM
  3. syntax error : identifer 'Hole'
    By bootrecker in forum C Programming
    Replies: 2
    Last Post: February 2nd, 2004, 08:08 AM
  4. Dr Watson error Excel Com call
    By rxsid in forum PHP Development
    Replies: 3
    Last Post: January 30th, 2004, 12:50 PM
  5. I don't know what this error message means
    By lcham02 in forum Java Help
    Replies: 2
    Last Post: January 13th, 2004, 11:57 AM

IMN logo majestic logo threadwatch logo seochat tools logo