Copy the server’s php.ini
file (/usr/local/lib/
) to the user’s home directory (For example, /home/username
).
Add the new values to the user’s php.ini
file
For each directory that contains PHP scripts that require the custom settings, add suPHP_ConfigPath /home/username/
to the .htaccess
file in the folder where the PHP script is located.