I have PHP installed on a Windows XP Pro, along with Apache and MySQL 5.0.The server (host) I'm using is localhost, and my php scripts run normally,but whenever i try to connect Mysql i am not able to do so.
Can anyone help me out with this issue.
I have PHP installed on a Windows XP Pro, along with Apache and MySQL 5.0.The server (host) I'm using is localhost, and my php scripts run normally,but whenever i try to connect Mysql i am not able to do so.
Can anyone help me out with this issue.
Sure i will help you out with this issue may i know are you getting an error message whenever you trying to connect it.
I am getting the following error message
Please help me out with this issue.Code:The PHP configuration on your server doesn't support the database type that you chose
For that you need a registry entry in HKLM\Software\PHP called IniFilePath set in your ini file. Put the following into a
.reg file and run it and it will create the entry required.
[HKEY_LOCAL_MACHINE\SOFTWARE\PHP]
"IniFilePath"="C:\\PHP"
Move your phpinfo.php into your root directory and point your web browser at it (http://localhost/phpinfo.php) and search for mysql.
If you don't find there it's means PHP is not being configured for MySQL support.
Bookmarks