MySQL not working for PHP 5

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt Crossley

    MySQL not working for PHP 5

    I have a fresh install of MySQL and PHP 5 but PHP is saying that the
    mysql_connect isnt there...does anyone know how to fix this?
    Thanks in advance.

    Matt

  • Tony Marston

    #2
    Re: MySQL not working for PHP 5

    PHP 5 comes with two MySQL extensions (original for version < 4.1, improved
    for versions >= 4.1). Which one did you enable in the php.ini file?

    --
    Tony Marston

    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL




    "Matt Crossley" <vbaspcppguy@gm ail.com> wrote in message
    news:1102638446 .012497.38590@f 14g2000cwb.goog legroups.com...[color=blue]
    >I have a fresh install of MySQL and PHP 5 but PHP is saying that the
    > mysql_connect isnt there...does anyone know how to fix this?
    > Thanks in advance.
    >
    > Matt
    >[/color]


    Comment

    • Amit

      #3
      Re: MySQL not working for PHP 5



      Comment

      • Zagadum

        #4
        Re: MySQL not working for PHP 5

        On 9 Dec 2004 16:27:26 -0800, Matt Crossley <vbaspcppguy@gm ail.com> wrote:
        [color=blue]
        > I have a fresh install of MySQL and PHP 5 but PHP is saying that the
        > mysql_connect isnt there...does anyone know how to fix this?
        > Thanks in advance.
        >
        > Matt
        >[/color]
        1) create file phpinfo.php
        2) write
        <?
        phpinfo();
        ?>

        3) find keywork mysql
        if mysql exist then all ok else need recompile php on you server.

        icq:75717272


        --
        (c)zagadum

        Comment

        • Andy Hassall

          #5
          Re: MySQL not working for PHP 5

          On 10 Dec 2004 06:25:58 -0800, "Amit" <amits_1982@sif y.com> wrote:
          [color=blue]
          >http://groups-beta.google.com/group/php_programming[/color]

          Hm. So Google, not satisfied with replacing Google Groups with a worse
          interface, are now also trying to fragment Usenet further by adding completely
          separate groups through the same interface? *sigh*

          --
          Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
          <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

          Comment

          Working...