| Author |
Loading extensions
|
|
| John Smit 2006-12-11, 7:01 pm |
|
Hello all,
I try to load an extension (mysqli). First I tried to remove the semi colon
in the php.ini
;extension=php_mysqli.dll -> extension=php_mysqli.dll
But no luck
Put the semicolon back and call the dl() function, no luck either.
(I also tried both...)
I set the extension_dir directive in the php.ini AND in code to "C:/Program
files/PHP/extensions/" (and yes this is the right durectory) but when i
retreive the value with the ini_get() function it will tell me the directory
is set to "C:/php5/" in both the tests.
What am i doing wrong?
Working on a Windows XP box with apach 2.2, and php 5.2
Thanks Rob
| |
| pangea33 2006-12-11, 7:01 pm |
| John Smit wrote:
> Hello all,
>
> I try to load an extension (mysqli). First I tried to remove the semi colon
> in the php.ini
>
> ;extension=php_mysqli.dll -> extension=php_mysqli.dll
>
> But no luck
> Put the semicolon back and call the dl() function, no luck either.
> (I also tried both...)
>
> I set the extension_dir directive in the php.ini AND in code to "C:/Program
> files/PHP/extensions/" (and yes this is the right durectory) but when i
> retreive the value with the ini_get() function it will tell me the directory
> is set to "C:/php5/" in both the tests.
>
> What am i doing wrong?
>
> Working on a Windows XP box with apach 2.2, and php 5.2
>
> Thanks Rob
See this thread...
http://groups.google.com/group/alt....7dd6ca73ddc28b6
| |
| John Smit 2006-12-11, 7:01 pm |
|
"pangea33" <pangea1013@gmail.com> wrote in message
news:1165762306.268814.63220@80g2000cwy.googlegroups.com...
> John Smit wrote:
>
> See this thread...
>
> http://groups.google.com/group/alt....7dd6ca73ddc28b6
>
Thanks for your reply.
I found out that the dl function is not supported in multithreaded
webservers and the only option is to alter the ini file (remove the
semicolon) .
But this does not work either!!!!!!
I get a bit stressed now because things should working in a couple of
days.... is there any body wo knows wat to do?
Thanks Rob
| |
| AlexVN 2006-12-11, 7:01 pm |
| On Dec 10, 10:22 pm, "John Smit" <nore...@nodomain.xxx> wrote:[color=darkred]
>
>
1. Check that your system PATH variable contains the folder with
libmysql.dll.
2. Check the result of phpinfo function and make sure that PHP uses the
right PHP.ini file.
---
Alexander
http://www.alexatnet.com/
|
|
|
|