lapineige
lapineige
ping @YunoHost-Apps/apps-group
@yalh76 do you think a simple `php.ini` file in `/var/www/pixelfed` would do the job ? If that the case, I'll do the PR :)
Do we need that whole file ?
So we can't include only a few lines of it, we need the whole file ? (and to maintain it aligned with the standard one, including the case when we...
From my understanding, adding a php.ini file one /var/www/pixelfed containing just the one or few lines needed does the job. It did in my case at least.
I think maybe someone from the @YunoHost-Apps/apps-group might know these things better than me: what would be your advise in that case ? php-fpm conf or "just" the php.ini file...
`/etc/nginx/conf.d/pixelfed_domain.tld.conf/pixelfed.conf`, or something like this. That's the Nginx part, you might need to adjust php file too, probably located in `/etc/php7.4/fpm/pool.d/pixelfed.ini` or similar (sorry, I don't have the ability to...
> /etc/php/7.3/fpm/pool.d/pixelfed.conf That's the one :) (I knew it wasn't `.ini`… :sweat_smile:) > If I add the lines of code that you told me in one of these two files...
My bad, the syntax was wrong (I edited my previous post). Here is the correct one: ``` php_admin_value[upload_max_filesize] = 16M php_admin_value[memory_limit] = 8M php_admin_value[post_max_size] = 8M ```
> I have to put those three lines in both files? No, that for php, the other file is for Nginx (the web server). What's the `client_max_body_size` value in Nginx...