If you wan to allow some server setting for a domain without affecting entire shared server. You can achive this by coppying the file php. ini to that domains public_html.

# php -i | grep php.ini

Configuration File (php.ini) Path => /usr/local/libLoaded Configuration File => /usr/local/lib/php.ini

Copy the file from the path you will get by above command, under domains public_html.

Now create file as info.php with following code in it. Change its ownership to cPanle user name of that domain .

Code for Info.php

<?

phpinfo();

?>

This way you can see all the setting in php.ini file under that domain with

URL : http://domainname/info.php

Now add follwing line in .htaccess file for PHP settings to apply for the path and directories under

SetEnv PHPRC “/home/jmorobi1/public_html”