Home Ask Login Register

Developers Planet

Your answer is one click away!

Haubix February 2016

Equivalent of php_value under Apache + php-fpm

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!


Haubix February 2016

I've found an somewhat elegant way to do it: .user.ini files

It seems to be the .htaccess version for PHP-FPM.

Post Status

Asked in February 2016
Viewed 1,506 times
Voted 12
Answered 1 times


Leave an answer

Quote of the day: live life