472,108 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,108 software developers and data experts.

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.