Jump to content

Manual talk:Php.ini

Add topic
From mediawiki.org
Latest comment: 3 years ago by 193.171.250.204 in topic I dont unterstand anything...

I dont unterstand anything...

[edit]
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 Mike Karst (talk) 20:46, 9 March 2018 (UTC)Reply
You have to look under local settings. For me, it is in Line 82 193.171.250.204 (talk) 14:22, 5 October 2022 (UTC)Reply
Probably you don't need this file. You need to edit LocalSettings.php. See Manual:Configuring_file_uploads. wargo (talk) 10:41, 10 March 2018 (UTC)Reply
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 (talk) 03:24, 27 September 2020 (UTC)Reply
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.? Editeur24 (talk) 03:26, 27 September 2020 (UTC)Reply

Where is the php.ini file located exactly

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


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. TadgStirkland401 (talk) 19:52, 6 July 2018 (UTC)Reply

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(); Ciencia Al Poder (talk) 14:15, 7 July 2018 (UTC)Reply
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. TadgStirkland401 (talk) 21:19, 17 July 2018 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.