under Apache + PHP as module you can set
php_value post_max_size 8M
inside a .htaccess.
How can I do this under Apache + PHP-FPM?
I'm using the FastCgiExternalServer directive, but want to keep the functionality within the .htaccess file (if possible).
Thank you!
By default Apache will use mod_php so now you can configure Apache to use PHP-FPM.
PHP-FPM (FastCGI Process Manager) is an alternative to FastCGI implementation of PHP with some additional features useful for sites with high traffic. It is the preferred method of processing PHP pages with NGINX and is faster than traditional CGI based methods such as SUPHP or mod_php for running a PHP script.
I've found an somewhat elegant way to do it: .user.ini files
It seems to be the .htaccess version for PHP-FPM.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With