Call to undefined function

Discussion in 'PHP' started by saman_artorious, Nov 1, 2008.

  1. #1
    Hi
    it's a long time that i use mysql and php
    i already created a site and have everything fixed

    today i tried to access my site via apache but i recieved the following error:
    call to undefined function mysql_connect

    everything works fine
    1)apache is running
    2)mysql -u root -p connects to the mysql server and it runs

    but what is the problem?????????
    besides i tried other php files some of them works fine but some of them still send an error for the specified function used in them such as building graph function?
    but everything was running correctly before today???????????!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    (today i installed ntfs package to run windows files from my linux but i don't think that the problem is related to it--i am sure somehow- LAMP works fine in my linux)

    do you have any idea?
     
    saman_artorious, Nov 1, 2008 IP
  2. LogicFlux

    LogicFlux Peon

    Messages:
    2,925
    Likes Received:
    102
    Best Answers:
    0
    Trophy Points:
    0
    #2
    LogicFlux, Nov 1, 2008 IP
  3. shineDarkly

    shineDarkly Banned

    Messages:
    241
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    from the looks of it it seemed like you dont have the mysql functions compiled correctly
     
    shineDarkly, Nov 1, 2008 IP