Jump to content

Topic on Manual talk:Php.ini

Where is the php.ini file located exactly

3
TadgStirkland401 (talkcontribs)

I'm trying to update what file types are able to be uploaded. Using FTP to find the ini file so that I can edit and fix what I need, I'm not able to tell from this Manual page where to find it... A simple wiki directory would help me a lot.

Looking at the other comments left here, it appears I'm not the only one having this difficulty.

Ciencia Al Poder (talkcontribs)

php.ini location vary from machine to machine. The page already say how to obtain this location:

To find it for the command line binary, use php --ini.
For the web module, create a sample php file with this content:
 <?php
 phpinfo();
TadgStirkland401 (talkcontribs)

Thank you very much, Ciencia.

I did a lot more research and found the answer to my true problem. I apparently did not need the ini file at all. Instead, I made updates to my LocalSettings.php file and it solved my problem quickly.