Mysqli problems

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
So i have the need to run stored procedures and the best way to do
this is with mysqli, so i have read.  So i tried to enable that module
with no luck.

IIS 6, PHP 5, MySQL 5

I enabled the module in php.ini and made sure the php_mysqli.dll was
in the php/ext dir. mysql,, oci8, mssql all load fine and are in the
same folder.  When i run phpinfo()  mysqli is not there.  libmysql.dll
is in the php root

What i have tried:
- Moving libmysql.dll to windows/system32
- moving php.ini to c:\Windows
- reinstalling php from installer with mysqli support

Odd behavior:
in the php.ini file, if i comment out mysql (standard) it will still
load.  I have to remove the dll from php/ext in order to not load
mysql support

I have no idea what else to even try.  The PATH is set correctly to
the php root and php/ext folders.  The PHPRC is set to the php root.
All other modules load just fine in the php/ext folder.  Any help?


Re: Mysqli problems wrote:
Quoted text here. Click to load it

Sounds like you're modifying the wrong php.ini file.  Look near the top
of your phpinfo() output where it tells you which configuration file it
is using.

Of course, I'm assuming you're stopping and starting the server after
modifying the php.ini file.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: Mysqli problems

Quoted text here. Click to load it

the quirks with the php.ini were solved, i only had 1 php.ini on the
machine and the phpinfo() read the right one.  Maybe some wierdness
with the server restarts.  ANyhow, i finally fixed it.  I read
somewhere else that i had to give IUSR_machineName read access to the
dll.  I gave it to the /ext folder and that didnt help, i to
explicitly give it to that dll file.  which was odd considering all
other extensions loaded just fine.

anyhow, crisis averted :)

Site Timeline