There is a simple syntax to that answers how to set htaccess php_value
for example if we want to set max_execution_time,
php_value max_execution_time 120
Above code put in your apache htaccess file will set the configuration.
How about You? Feel Free to comment on this.