I have a folder, and for all php files in that folder (or even better, in that folder or any folders within it) I’d like to make some changes to the php settings. Can I just place a php.ini file in that folder with those settings I’d like to change?
If so, any reason why this wouldn’t be working for me? It’s my own server.
Thanks!
edit: I’d like to be able to use a local php.ini file, as I’ve been able to do with several webhosts. Is this a possibility?
It looks like you’re wanting to use per-directory php.ini files which are available as of PHP 5.3. If it’s your own server, I’d like to think you’re happy to keep up with the latest stable releases (currently 5.3.2). Back to ini files, to quote that manual page: