开发者

MySQL installation problem

开发者 https://www.devze.com 2023-01-08 13:11 出处:网络
I\'m working on Windows with Apache and PHP. I just installed MySQL, configured it, and started it. But when I run

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 ?


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).


Wamp is what I need !


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

0

精彩评论

暂无评论...
验证码 换一张
取 消