I often come across this question: Where is my php.ini located? Мне часто приходится сталкиваться на этот вопрос: Где мой php.ini находится? Here is a simple solution. Вот простое решение.

To find out which php.ini your apache server is using please follow the steps below: Чтобы выяснить, какие ваши php.ini apache сервере выполните следующие действия:

1. Type in the following in a file named say test.php and save it in document root of your webserver, normally htdocs for apache: Введите в следующих файл с именем test.php сказать, и сохраните его в документе корневом каталоге веб-сервера, обычно htdocs для apache:

2. Load the file in your browser. Загрузите файл в вашем браузере. For example if you access your home page like: Например, если вы получаете доступ к главной странице сайта так:
http:// / then you will access this file as http:// / Затем вы перейдете к этот файл как http:// /test.php / test.php

3. Search for php.ini in the response text. Искать php.ini в ответ текст. On that line you will find the full path to your php.ini По этой линии вы найдете полный путь к Вашему php.ini