Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 27-02-2009
Member
 
Join Date: Jan 2009
Posts: 133
PHP not working with my SQL

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.
Reply With Quote
  #2  
Old 27-02-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: PHP not working with my SQL

Sure i will help you out with this issue may i know are you getting an error message whenever you trying to connect it.
Reply With Quote
  #3  
Old 27-02-2009
Member
 
Join Date: Jan 2009
Posts: 133
Re: PHP not working with my SQL

I am getting the following error message

Code:
The PHP configuration on your server doesn't support the database type that you chose
Please help me out with this issue.
Reply With Quote
  #4  
Old 27-02-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: PHP not working with my SQL

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"
Reply With Quote
  #5  
Old 27-02-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: PHP not working with my SQL

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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "PHP not working with my SQL"
Thread Thread Starter Forum Replies Last Post
Fingerprint Reader is working but DigitalPersona is not working in HP Pavilion tx2000 KameswaraRao Portable Devices 10 02-05-2012 10:55 PM
Voice not working in X3 Terran Conflict, but working in X3: Albion Prelude Dvimida Video Games 8 20-12-2011 11:39 AM
Web app not working on 2008 R2 64 bit but working on Windows 2000 server Rena Windows Software 3 27-04-2011 12:11 AM
windows vista restore not working/blue screen help/safe mode not working rrr666 Vista Help 4 26-07-2009 12:37 AM
WSUS MMC is working, Synchronization is working, but WSUS fails to download updates and Self Update is not working Andrus K Server Update Service 1 03-07-2008 09:32 PM


All times are GMT +5.5. The time now is 04:06 AM.