469,268 Members | 921 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,268 developers. It's quick & easy.

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.
Jul 17 '05 #1
9 44763
On Thu, 3 Feb 2005 10:15:08 -0800, "Michael Bradley-Robbins"
<mi*****@bradley-robbins.net> wrote:
How do I set up the extension_dir in windows to point to "c:\php\ext"? I've
tried almost everything.


extension_dir="c:\php\ext"

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

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2
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.

Matthias
Jul 17 '05 #3
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" <mu******************@usenetverwaltung.org> wrote in
message news:ct**********@usenet.esken.de...
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.

Matthias

Jul 17 '05 #4
Michael Bradley-Robbins wrote:
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?


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

Matthias
Jul 17 '05 #5
On Fri, 4 Feb 2005 07:25:36 -0800, "Michael Bradley-Robbins"
<mi*****@bradley-robbins.net> wrote:

[ Don't top-post ]
"Matthias Esken" <mu******************@usenetverwaltung.org> wrote in
message news:ct**********@usenet.esken.de...
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.


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?


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 / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #6
oops. it did say "dinamic library"
"Andy Hassall" <an**@andyh.co.uk> wrote in message
news:ab********************************@4ax.com...
On Fri, 4 Feb 2005 07:25:36 -0800, "Michael Bradley-Robbins"
<mi*****@bradley-robbins.net> wrote:

[ Don't top-post ]
"Matthias Esken" <mu******************@usenetverwaltung.org> wrote in
message news:ct**********@usenet.esken.de...
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.


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?


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 / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

Jul 17 '05 #7
libmysql.dll is located in c:\php

"Matthias Esken" <mu******************@usenetverwaltung.org> wrote in
message news:cu**********@usenet.esken.de...
Michael Bradley-Robbins wrote:
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?


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

Matthias

Jul 17 '05 #8
Michael Bradley-Robbins wrote:
libmysql.dll is located in c:\php


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
Jul 17 '05 #9
That worked. I guess there's something wrong with my PATH. Thanks a million.

"Matthias Esken" <mu******************@usenetverwaltung.org> wrote in
message news:cu**********@usenet.esken.de...
Michael Bradley-Robbins wrote:
libmysql.dll is located in c:\php


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

Jul 17 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by John | last post: by
2 posts views Thread by James | last post: by
6 posts views Thread by Damien | last post: by
8 posts views Thread by kevin.baert | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.