Manual talk:Php.ini

About this board

I dont unterstand anything...

5
Mike Karst (talkcontribs)

Where is this file? How can i open it?

I just want to enable image uplad and already made "images" writable, but now im reading this and dont have any idea, where and how to start my search :P

why isn there just a button for "admin preferences" where you can simple enable image upload for non-cracks? :P

193.171.250.204 (talkcontribs)

You have to look under local settings. For me, it is in Line 82

Wargo (talkcontribs)
Editeur24 (talkcontribs)

When the manual says, "To find it for the command line binary, use php --ini", novices like us have no idea what to do. I suspect we are supposed to set up a terminal to go somewhere into our installation and enter the command "php --ini", but the manual doesn't tell us that. Or do we enter this in our web browser? Just saying "use" is not useful. Remember, most of us don't even know what php means.

Editeur24 (talkcontribs)

What would be helpful are some examples of where the php.ini files is located in installations on various kinds of computers. Mediawiki's standard installation has many directories. Is it in one of those? Images, Includes, languages, etc.?

Reply to "I dont unterstand anything..."

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.

There are no older topics