Forum Moderators: open

Message Too Old, No Replies

PHP not working with MySql under Windows

         

jadedev

4:07 pm on Oct 27, 2007 (gmt 0)

10+ Year Member



I have Apache and PHP. They are working fine, I can get phpInfo to show.

Then I wanted to install phpbb. So I installed MySQL, I can log on using dos prompt and create database, etc etc.

Now, when I come to installed phpbb, I am getting an error:

"The PHP configuration on your server doesn't support the database type that you chose"

So how do I make Php talk to MySQL?

Receptional Andy

7:59 pm on Oct 28, 2007 (gmt 0)



Possibly PHP has not been compiled with mySQL support. I assume this is on Windows? In which case, how did you install PHP (you may need to check the mysql option)?

You can check this by searching the phpinfo output for references to mysql.

jadedev

12:20 am on Oct 29, 2007 (gmt 0)

10+ Year Member



HI,

After 3 days of hair ulling, I decided to uninstall php. I was using the Windows MSI version which seemed to be a cut down version of php.

So I download the zip version and did a manual install, followed the instruction. And it just interfaced with MySQL, just liek that. Nothing still appears in phpInfo but I am happy. My phpbb2 forum is up, yeah.