Victor Czechov Victor Czechov - 3 months ago 11
PHP Question

Where is php.ini in php v.5.4.6?

This file seems is missing at all. I see only a two files

php.ini-development
and
php.ini-production
, but both of them is not a configuration of current php. What I need to do if I want to add a mysqli extension in php, where I can do it?

OS Windows 7.

Solution

Rename
php.ini-production
to
php.ini
and uncomment
extension_dir
by removing
;
. That is all.

Answer

It all depends on your Operating System

Create a file check.php, and it will show your where php.ini is.

<?php
   phpinfo();
?>
Comments