Saturday, July 2, 2022

[FIXED] why there are 2 php directories in C:\ and C:\xampp

Issue

I have 2 php directories. One in C:/ and the other in C:/xampp .
Have I installed php twice or is this normal.

I'am also getting a warning message when I try any php command
php -version

PHP Warning:  Module 'fileinfo' already loaded in Unknown on line 0

Warning: Module 'fileinfo' already loaded in Unknown on line 0
PHP 7.4.3 (cli) (built: Feb 18 2020 17:29:46) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Now if I want to edit the php.ini I can't decide which file to edit because in both extension=fileinfo is uncommented


Solution

You can open php.ini from below:

enter image description here



Answered By - PHP Hupp Technologies
Answer Checked By - Senaida (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.