Why isn't htaccess following this php_value directive?

It turns out I am using virtual hosts but was editing my default-server.conf file. Once I realized this and edited the correct file in the vhost.d directory the php_value setting was picked up from the .htaccess file as expected.