setting up extension_dir

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Bradley-Robbins

    setting up extension_dir

    How do I set up the extension_dir in windows to point to "c:\php\ext "? I've
    tried almost everything.


  • Andy Hassall

    #2
    Re: setting up extension_dir

    On Thu, 3 Feb 2005 10:15:08 -0800, "Michael Bradley-Robbins"
    <michael@bradle y-robbins.net> wrote:
    [color=blue]
    >How do I set up the extension_dir in windows to point to "c:\php\ext "? I've
    >tried almost everything.[/color]

    extension_dir=" c:\php\ext"

    ... in the php.ini that PHP is reading.

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

    Comment

    • Matthias Esken

      #3
      Re: setting up extension_dir

      Michael Bradley-Robbins wrote:
      [color=blue]
      > How do I set up the extension_dir in windows to point to "c:\php\ext "? I've
      > tried almost everything.[/color]

      Open php.ini and write

      extension_dir = c:/php/ext/

      Save.

      Matthias

      Comment

      • Michael Bradley-Robbins

        #4
        Re: setting up extension_dir

        I did that, and now, when I start apache, it gives an error message saying:
        "PHP startup: unable to load dinamic binary 'c:/php/ext\php_mysqli. dll' -
        the specified procedure could not be found" Now what do I do?
        "Matthias Esken" <muelleimer2005 nospam@usenetve rwaltung.org> wrote in
        message news:ctu3l9.1u0 .1@usenet.esken .de...[color=blue]
        > Michael Bradley-Robbins wrote:
        >[color=green]
        >> How do I set up the extension_dir in windows to point to "c:\php\ext "?
        >> I've
        >> tried almost everything.[/color]
        >
        > Open php.ini and write
        >
        > extension_dir = c:/php/ext/
        >
        > Save.
        >
        > Matthias[/color]


        Comment

        • Matthias Esken

          #5
          Re: setting up extension_dir

          Michael Bradley-Robbins wrote:
          [color=blue]
          > I did that, and now, when I start apache, it gives an error message saying:
          > "PHP startup: unable to load dinamic binary 'c:/php/ext\php_mysqli. dll' -
          > the specified procedure could not be found" Now what do I do?[/color]

          It seems, that php_mysqli.dll is missing something. Where is the
          libmysql.dll located?

          Matthias

          Comment

          • Andy Hassall

            #6
            Re: setting up extension_dir

            On Fri, 4 Feb 2005 07:25:36 -0800, "Michael Bradley-Robbins"
            <michael@bradle y-robbins.net> wrote:

            [ Don't top-post ]
            [color=blue]
            >"Matthias Esken" <muelleimer2005 nospam@usenetve rwaltung.org> wrote in
            >message news:ctu3l9.1u0 .1@usenet.esken .de...[color=green]
            >> Michael Bradley-Robbins wrote:
            >>[color=darkred]
            >>> How do I set up the extension_dir in windows to point to "c:\php\ext "?
            >>> I've
            >>> tried almost everything.[/color]
            >>
            >> Open php.ini and write
            >>
            >> extension_dir = c:/php/ext/
            >>
            >> Save.[/color]
            >
            >I did that, and now, when I start apache, it gives an error message saying:
            >"PHP startup: unable to load dinamic binary 'c:/php/ext\php_mysqli. dll' -
            >the specified procedure could not be found" Now what do I do?[/color]

            What does it _actually_ say? "dinamic binary" doesn't make sense. Did it
            actually say "dynamic library"?

            If so, you don't have the directory containing libmysqli.dll (PHP 5.0.2 and
            earlier) or libmysql.dll (PHP 5.0.3) on your PATH environment variable, since
            the mysqli PHP extension needs a mysqli client library to work. Change PATH to
            include c:\php - as the PHP 5 zip distribution comes with the required DLL.

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

            Comment

            • Michael Bradley-Robbins

              #7
              Re: setting up extension_dir

              oops. it did say "dinamic library"
              "Andy Hassall" <andy@andyh.co. uk> wrote in message
              news:ab0801pqcs si4u3beqlvt7kre msmmk5pr8@4ax.c om...[color=blue]
              > On Fri, 4 Feb 2005 07:25:36 -0800, "Michael Bradley-Robbins"
              > <michael@bradle y-robbins.net> wrote:
              >
              > [ Don't top-post ]
              >[color=green]
              >>"Matthias Esken" <muelleimer2005 nospam@usenetve rwaltung.org> wrote in
              >>message news:ctu3l9.1u0 .1@usenet.esken .de...[color=darkred]
              >>> Michael Bradley-Robbins wrote:
              >>>
              >>>> How do I set up the extension_dir in windows to point to "c:\php\ext "?
              >>>> I've
              >>>> tried almost everything.
              >>>
              >>> Open php.ini and write
              >>>
              >>> extension_dir = c:/php/ext/
              >>>
              >>> Save.[/color]
              >>
              >>I did that, and now, when I start apache, it gives an error message
              >>saying:
              >>"PHP startup: unable to load dinamic binary 'c:/php/ext\php_mysqli. dll' -
              >>the specified procedure could not be found" Now what do I do?[/color]
              >
              > What does it _actually_ say? "dinamic binary" doesn't make sense. Did it
              > actually say "dynamic library"?
              >
              > If so, you don't have the directory containing libmysqli.dll (PHP 5.0.2
              > and
              > earlier) or libmysql.dll (PHP 5.0.3) on your PATH environment variable,
              > since
              > the mysqli PHP extension needs a mysqli client library to work. Change
              > PATH to
              > include c:\php - as the PHP 5 zip distribution comes with the required
              > DLL.
              >
              > --
              > Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
              > <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool[/color]


              Comment

              • Michael Bradley-Robbins

                #8
                Re: setting up extension_dir

                libmysql.dll is located in c:\php

                "Matthias Esken" <muelleimer2005 nospam@usenetve rwaltung.org> wrote in
                message news:cu0d8t.1f8 .1@usenet.esken .de...[color=blue]
                > Michael Bradley-Robbins wrote:
                >[color=green]
                >> I did that, and now, when I start apache, it gives an error message
                >> saying:
                >> "PHP startup: unable to load dinamic binary 'c:/php/ext\php_mysqli. dll' -
                >> the specified procedure could not be found" Now what do I do?[/color]
                >
                > It seems, that php_mysqli.dll is missing something. Where is the
                > libmysql.dll located?
                >
                > Matthias[/color]


                Comment

                • Matthias Esken

                  #9
                  Re: setting up extension_dir

                  Michael Bradley-Robbins wrote:
                  [color=blue]
                  > libmysql.dll is located in c:\php[/color]

                  Then C:\php might not be in the systems search path for executables.
                  Either add C:\php to the PATH or copy libmysql.dll to the System32
                  directory.

                  Regards,
                  Matthias

                  Comment

                  • Michael Bradley-Robbins

                    #10
                    Re: setting up extension_dir

                    That worked. I guess there's something wrong with my PATH. Thanks a million.

                    "Matthias Esken" <muelleimer2005 nospam@usenetve rwaltung.org> wrote in
                    message news:cu56ko.1bs .1@usenet.esken .de...[color=blue]
                    > Michael Bradley-Robbins wrote:
                    >[color=green]
                    >> libmysql.dll is located in c:\php[/color]
                    >
                    > Then C:\php might not be in the systems search path for executables.
                    > Either add C:\php to the PATH or copy libmysql.dll to the System32
                    > directory.
                    >
                    > Regards,
                    > Matthias[/color]


                    Comment

                    Working...