|
Many people need the ability to change php.ini settings from the defaults set on the server. The best way to accomplish this is by following these steps: 1. Create a file named .htaccess in your home directory (/home/user, where user is your control panel username.) 2. In the .htaccess file, place this single line: SetEnv PHPRC /home/user (Again, change user to your control panel username.)
3. Create a php.ini file with settings as you like them, and place it in your home directory. That's it! Now you can control PHP settings for your PHP scripts.
|