Where art thou php.ini?
HTML-код
- Опубликовано: 21 янв 2024
- PHP by default only allows uploads of files of 2mb, and Moodle doesn't even work unless max_input_vars is set to at least 5000 in php.ini...
Well, where on the server is this "php.ini" file?
Actually, there are a couple of them. They're all pretty similar, but in slightly different locations depending on whether you are using FPM or the Apache Handler (libapache2-mod-php). Oh, and don't forget that the CLI php.ini also needs a little love too.
After talking about the locations of the php.ini files, I have the (not so great) idea of pointing out where the php-fpm pool configuration file is located and briefly touch on a rather complex (and perhaps somewhat controversial?) topic.
That is perfect, I am waiting for pool video, but please explain the pool concept and what they do and why it is important before going to settings
Sure, I'll try to get onto that video soon. Thanks!
Thanks for this video, Do you know what is happening if in Server-> php info the page just go blank, I can't see any information?
If the page is just blank white, that's usually a sign that the PHP of the page crashed (i.e. there was an irrecoverable or "fatal" error. Check the webserver and/or phpfpm logs for more clues as to what went wrong. Moodles PHP.info page is fairly robust (and simple) so if it is crashing, there may be a problem with the theme you're using or maybe a block? Perhaps try switch to boost theme and see if you get the same result.
Thanks for your reply, I’ll check your suggestions but I’m using boost theme.