Extensions and MySQL.dll on WinXP PHP5

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

    #1

    Extensions and MySQL.dll on WinXP PHP5

    I'm hoping someone will give me the latest info here about PHP policy
    to enable extensions. [Preferably not -
    "Move them around under C:\Windows until it works ..." ]

    I've installed PHP5 in C:\PHP

    Meaningful excerpts: from php.ini
    ; Directory in which the loadable extensions (modules) reside.
    extension_dir = "./"
    .....
    ;extension=php_ msql.dll
    extension=php_m ysql.dll

    TIA for your advice on this.

  • Andy Hassall

    #2
    Re: Extensions and MySQL.dll on WinXP PHP5

    On 12 Jun 2005 16:00:10 -0700, "webguynow" <invinfo@rcn.co m> wrote:
    [color=blue]
    >I'm hoping someone will give me the latest info here about PHP policy
    >to enable extensions. [Preferably not -
    >"Move them around under C:\Windows until it works ..." ]
    >
    >I've installed PHP5 in C:\PHP
    >
    >Meaningful excerpts: from php.ini
    >; Directory in which the loadable extensions (modules) reside.
    >extension_di r = "./"[/color]

    So change it to your PHP extensions directory:

    extension_dir = "c:/php/ext"
    [color=blue]
    >....
    >;extension=php _msql.dll
    >extension=php_ mysql.dll[/color]

    This in turn requires the MySQL client library. This is bundled with PHP in
    the top-level PHP directory, so modify your PATH environment variable to
    include c:\php.

    Do not copy anything into Windows directories.




    --
    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...