I often come across this question: Where is my php.ini located? A menudo encontramos con esta pregunta: ¿Dónde está mi php.ini? Here is a simple solution. Aquí hay una solución simple.

To find out which php.ini your apache server is using please follow the steps below: Para saber que su php.ini servidor Apache está utilizando, por favor siga los siguientes pasos:

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: Escribe lo siguiente en un archivo llamado test.php decir y guárdelo en el documento raíz de su servidor web, normalmente htdocs de apache:

2. Load the file in your browser. Cargar el fichero en su navegador. For example if you access your home page like: Por ejemplo, si usted accede a su página principal como:
http:// / then you will access this file as http:// / Entonces usted tendrá acceso a este archivo como http:// /test.php / test.php

3. Search for php.ini in the response text. Buscar php.ini en la respuesta de texto. On that line you will find the full path to your php.ini En esa línea se encuentra la ruta completa a su php.ini