To set values in a .htaccess file (when PHP is installed as an Apache module), you can use several Apache directives to set PHP settings for a script. If you look at a phpinfo() output, you'll notice an extra column for "Local Value" - this is what you'll be changing.
For more information, see this manual page: [man]configuration.changes[/man]