MySql support in PHP 5.x

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nospam@pacbell.net

    MySql support in PHP 5.x

    According to documentation on PHP site, MySql support is not built in to
    the v. 5.x Windows binaries posted on the site. Does anyone know where
    to get PHP 5.x Windows binaries with MySql support turned on? I'd rather
    not have to rebuild the product.

    Thanks,

    David
  • Jay

    #2
    Re: MySql support in PHP 5.x

    You have to Options

    1. enbable the extension in the php.ini

    extension=php_m ysql.dll

    or

    2. Recompile PHP with buil in MYSQL Support ;)

    Best Regards Jay

    Comment

    • Richard Levasseur

      #3
      Re: MySql support in PHP 5.x


      Jay wrote:
      You have to Options
      >
      1. enbable the extension in the php.ini
      >
      extension=php_m ysql.dll
      >
      or
      >
      2. Recompile PHP with buil in MYSQL Support ;)
      >
      Best Regards Jay
      I suggest using the dll. Its much easier than trying to recompile from
      src on windows :)

      Comment

      • dawnerd

        #4
        Re: MySql support in PHP 5.x


        Jay wrote:
        You have to Options
        >
        1. enbable the extension in the php.ini
        >
        extension=php_m ysql.dll
        >
        or
        >
        2. Recompile PHP with buil in MYSQL Support ;)
        >
        Best Regards Jay
        Don't forget to set the extension path. The easiest way is to just copy
        the dlls in the /ext/ folder into the php root folder.

        Comment

        • jcbarry6@gmail.com

          #5
          Re: MySql support in PHP 5.x


          nospam@pacbell. net wrote:
          According to documentation on PHP site, MySql support is not built in to
          the v. 5.x Windows binaries posted on the site. Does anyone know where
          to get PHP 5.x Windows binaries with MySql support turned on? I'd rather
          not have to rebuild the product.
          >
          Thanks,
          >
          David
          You are going to also need the msvcr71.dll if you plan on using PHP5
          and MySql 5. If you are installing on a Windows machine.
          Download MySql and install it.
          Download PHP and get that working with your web server.
          Once thats done, download the MySql Extension for PHP from the Mysql
          Site.
          Also download the msvcr71.dll file from someplace. (Google it.)
          Place the all 3 dll files into your system32 folder or in a place
          located on your path.

          That should do it. It sounds like more than it is.
          Good Luck!

          Jay Barry

          Comment

          Working...