Not connecting to database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Thingstad

    Not connecting to database


    I just installed php5.
    My website suddenly stopped working and I got the error..

    Fatal error: Call to undefined function mysql_connect() in
    C:\inetpub\webr oot\links.php on line 7

    I was using php 4.3 and the site worked fine.
    What has happened here?

    --
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
  • Senator Jay Billington Bulworth

    #2
    Re: Not connecting to database

    "John Thingstad" <john.thingstad @chello.no> wrote in
    news:opslveidu4 pqzri1@mjolner. upc.no:
    [color=blue]
    >
    > I just installed php5.
    > My website suddenly stopped working and I got the error..
    >
    > Fatal error: Call to undefined function mysql_connect() in
    > C:\inetpub\webr oot\links.php on line 7
    >
    > I was using php 4.3 and the site worked fine.
    > What has happened here?
    >[/color]

    See:

    <http://www.faqts.com/knowledge_base/view.phtml/aid/23162/fid/1150>


    hth


    --
    Bulworth : PHP/MySQL/Unix | Email : str_rot13('f@fu ng.arg');
    --------------------------|---------------------------------
    <http://www.phplabs.com/> | PHP scripts, webmaster resources

    Comment

    • John Thingstad

      #3
      Re: Not connecting to database

      On Tue, 08 Feb 2005 09:44:30 GMT, Senator Jay Billington Bulworth
      <f@fung.arg> wrote:
      [color=blue]
      > "John Thingstad" <john.thingstad @chello.no> wrote in
      > news:opslveidu4 pqzri1@mjolner. upc.no:
      >[color=green]
      >>
      >> I just installed php5.
      >> My website suddenly stopped working and I got the error..
      >>
      >> Fatal error: Call to undefined function mysql_connect() in
      >> C:\inetpub\webr oot\links.php on line 7
      >>
      >> I was using php 4.3 and the site worked fine.
      >> What has happened here?
      >>[/color]
      >
      > See:
      >
      > <http://www.faqts.com/knowledge_base/view.phtml/aid/23162/fid/1150>
      >
      >
      > hth
      >
      >[/color]

      It says:
      Windows users may enable the extension php_mysql.dll inside php.ini

      How?

      I only have php_pdo_mysql.d ll.. Is this the same?

      --
      Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

      Comment

      Working...