|
Posted by theiviaxx on July 17, 2008, 1:34 pm
Please log in for more thread options > theivi...@gmail.com wrote:
> > So i have the need to run stored procedures and the best way to do
> > this is with mysqli, so i have read. =A0So i tried to enable that modul=
e
> > 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. =A0When i run phpinfo() =A0mysqli is not there. =A0libmysq=
l.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. =A0I have to remove the dll from php/ext in order to not load
> > mysql support
>
> > I have no idea what else to even try. =A0The PATH is set correctly to
> > the php root and php/ext folders. =A0The PHPRC is set to the php root.
> > All other modules load just fine in the php/ext folder. =A0Any help?
>
> > Thanks
>
> Sounds like you're modifying the wrong php.ini file. =A0Look 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.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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 :)
|