For making partial accounts on a server the administrator has to update few server wide changes. The administrator has to install smarty template engine on the cPanel server for the particular web hosting account. The installation of smarty template is as follow the steps.

Step 1: First of all you have to download the compatible smarty software from the website.

Step 2: Then one of the most important step is to extract that zip file within a specific folder. As soon as you extract the file you have to upload those particular folders which is in the directory which we have mentioned : /home/username/public_html/Smarty-3.0.7/

Step 3: You have to be very careful now onwards because in this step you have to customize your account one of the most important file which is know as “php.ini” this updates are done for a specific account. You have to update few paths or you can say you have to add the path as

include_path = “.:/usr/lib/php:/usr/local/lib/php” # this is default line in php.ini
You have to edit it as :-
include_path = “.:/usr/lib/php:/usr/local/lib/php:/home/username/public_html/Smarty-3.0.7/libs”

Step 4: There are few necessary changes you should make. To add the below mentioned following rule in to .htaccess file. Such changes are required to work out with the php.ini for executing the necessary changes for executing the necessary changes for a specific account.

SetEnv PHPRC /home/username/public_html/ # php.ini file should be saved under the mentioned path given /home/username/public_html/

Step 5: As of now the smarty application is ready to use The web libraries are complete ready to work to use the domain name.

Step 6: Now onward the scripts which is there on the server is using Smarty, there we have to add following line which are as follows :
require ‘/home/username/public_html/Smarty-3.0.7/libs/Smarty.class.php’

Make a note that you have to replace the “username” with your cPanel username.