| Author |
PHP 5.2.0 MySQL and IIS on XP mysql_connect() error
|
|
| wlbragg 2007-01-18, 4:00 am |
| 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/
-----------------------------------------------
| |
| HawkEye 2007-01-18, 7:01 pm |
| 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
| |
| wlbragg 2007-01-22, 9:59 pm |
| 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" <sunbed@rocketmail.com> wrote in message
news:5p6dnbzW-dm4MDLYnZ2dnUVZ8sPinZ2d@pipex.net...
> wlbragg wrote:
isn't[color=darkred]
know[color=darkred]
have to[color=darkred]
php5isapi.dll?[color=darkred]
>
> 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
|
|
|
|