tags:

views:

33

answers:

3

I'm working on Windows with Apache and PHP.

I just installed MySQL, configured it, and started it.

But when I run

<?php
    phpinfo();
?>

I don't see the mysql section, which means that I cannot use MySQL commands in the PHP code, right ?

Why is that ?

Should I do any manual connection between MySQL / PHP / Apache ?

+2  A: 

You need to enable the Mysql module or Mysqli module in php. Find your php.ini or use your administrative console to turn one of them on. Then they should appear. Most distributions already include Mysql support. If you have built it yourself, you might need to recompile with the support turned on (but that is unlikely).

Cheers, Jacob

TheJacobTaylor
Thanks Jacob for your answer !
Misha Moroshko
A: 

Install XAMPP from http://www.apachefriends.org/en/index.html. Xampp install and setting up mysql, apache, php properly.

turbod
A: 

Wamp is what I need !

Misha Moroshko