Depending on your host's configuration, you may be able to place a php.ini file in your web root folder with your desired settings. This ini should (again, if your host allows) overrule the settings in the main ini file. At least, that's how my shared hosting provider works.
You don't need to copy the entire ini file, just the bits you need. E.g.;