PHP 5.2.0 MySQL and IIS on XP mysql_connect() error
am 18.01.2007 07:18:48 von wlbragg
Using php5.2.0-dev version and php5isapi.dll in IIS mysql_connect() isn't
understood as a function. Everything else works fine in php as far as I know
except the mysql functions. If I use php-cgi.exe it works fine but I have to
turn off forced-redirect and can't switch to my Apache Server without
modifying the php.ini. Does anyone know how to
get this PHP ver to implement this function under IIS using php5isapi.dll?
Did I miss a step to
implement MySQL under IIS and php5isapi?
Thx in advance..
-----------------------------------------------
Lynx Web Design Program - A FREE, online,
quick and extremely powerful web design tool.
Check it out! http://members.cox.net/wlbragg/
-----------------------------------------------
Re: PHP 5.2.0 MySQL and IIS on XP mysql_connect() error
am 18.01.2007 18:33:36 von HawkEye
wlbragg wrote:
> Using php5.2.0-dev version and php5isapi.dll in IIS mysql_connect() isn't
> understood as a function. Everything else works fine in php as far as I know
> except the mysql functions. If I use php-cgi.exe it works fine but I have to
> turn off forced-redirect and can't switch to my Apache Server without
> modifying the php.ini. Does anyone know how to
> get this PHP ver to implement this function under IIS using php5isapi.dll?
> Did I miss a step to
> implement MySQL under IIS and php5isapi?
>
> Thx in advance..
>
>
> -----------------------------------------------
> Lynx Web Design Program - A FREE, online,
> quick and extremely powerful web design tool.
> Check it out! http://members.cox.net/wlbragg/
> -----------------------------------------------
>
>
You're probably already aware but just in case - PHP 5.(something) no loger
includes MySQL support builin. You have to enable the extension just like
any others. Try a phpinfo(); to see if MySQl support is enabled or not.
HTH
--
Regards
Neil
Linux Registered User 324599
Re: PHP 5.2.0 MySQL and IIS on XP mysql_connect() error
am 23.01.2007 02:54:24 von wlbragg
Still no luck in getting mysql_connect() to work with mysqlisapi.dll. Paths
are all correct. I double checked that mysqli and mysql both have
mysql_connect() function. Mysql_connect() will only work in IIS using
php-cgi.exe in the application mapping. Anyone else have any ideas?
"HawkEye" wrote in message
news:5p6dnbzW-dm4MDLYnZ2dnUVZ8sPinZ2d@pipex.net...
> wlbragg wrote:
> > Using php5.2.0-dev version and php5isapi.dll in IIS mysql_connect()
isn't
> > understood as a function. Everything else works fine in php as far as I
know
> > except the mysql functions. If I use php-cgi.exe it works fine but I
have to
> > turn off forced-redirect and can't switch to my Apache Server without
> > modifying the php.ini. Does anyone know how to
> > get this PHP ver to implement this function under IIS using
php5isapi.dll?
> > Did I miss a step to
> > implement MySQL under IIS and php5isapi?
> >
> > Thx in advance..
> >
> >
> > -----------------------------------------------
> > Lynx Web Design Program - A FREE, online,
> > quick and extremely powerful web design tool.
> > Check it out! http://members.cox.net/wlbragg/
> > -----------------------------------------------
> >
> >
>
> You're probably already aware but just in case - PHP 5.(something) no
loger
> includes MySQL support builin. You have to enable the extension just like
> any others. Try a phpinfo(); to see if MySQl support is enabled or not.
>
> HTH
>
> --
>
> Regards
>
> Neil
>
> Linux Registered User 324599