cgi-php su php single user php.ini setup for directadmin

1- go to Admin Panel -> Admin Settings -> Customize Httpd Configurations.
find domain
2-add
SetEnv PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/|USER|/php/
3- ssh server
cd /usr/local/directadmin/data/users/username
4- mkdir php
nano php/php.ini – ( eg: register_globals = On )
5- chown -R diradmin.diradmin php
6- service httpd restart