473,326 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 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 45888
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: John | last post by:
Hi. I am just in the very early stages of learning Php and just need a little help. I have a form which includes values. However when I test it, the values are not added up and carried to...
2
by: James | last post by:
I figured I would drop this out here for comment and general info. PHP 5.0.3 on Windows 2000 SP4 / IIS running as ISAPI. You cannot seem to change the "extension_dir" value via the php.ini file...
6
by: Damien | last post by:
Dear All, I'm having LOTS of troubles setting the extensions directory under windows. On my "testing" server (windows XP, IIS), I could set the directory to : extension_dir = ./extensions/ ...
18
by: Dixie | last post by:
Can I set the Format property in a date/time field in code? Can I set the Input Mask in a date/time field in code? Can I set the Format of a Yes/No field to Checkbox in code? I am working on...
2
by: junlia | last post by:
Hi All, I am working on a project that acts as a bridge. It does some checking with post xml data, and then redirects the request to an appropriate page. However, we find that depends on the...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
8
by: kevin.baert | last post by:
Hi I'm using PHP 4.3.1 on IIS6 and I'm trying to get GD2 to work ... I've modified PHP.ini (extension_dir= c:\php\extension + removed the ;) but the only result is that php refuses to work after...
0
by: Notgiven | last post by:
I need to add aspell capability to php. I added the following line: extension=libaspell.so The extension directory is: extension_dir = /usr/local/apache2/libexec/modules and I put the...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.