How one can set default Timezone by the use of htaccess in cPanel? [STEP BY STEP]☑️

0
14


Hi Buddies,

Right here on this article we will be able to describe you “How one can trade default Time Zone completely in cPanel by the use of .htaccess record.”

🔴 LIVE Video Educational- How one can set default Timezone by the use of htaccess in cPanel?

Observe the stairs to set default timezone in cPanel:

Step::1 Login on your cPanel dashboard

How to set default Timezone via htaccess in cPanel

Step::2 Click on on Document Supervisor phase and pass to Public_html

How to set default Timezone via htaccess in cPanel

How to set default Timezone via htaccess in cPanel

Step::3 Create a record within the identify of trying out.php or check.php

How to set default Timezone via htaccess in cPanel

Step::4 Now proper click on over the record and make a choice Edit

How to set default Timezone via htaccess in cPanel

Step::5 Position the codes given beneath

<?php
echo "As of late is " . date("Y/m/d") . "<br>";
echo "The time is " . date("h:i:sa");
?>

Step::6 Now once more return to public_html and Edit .htaccess record. In case you are not able to seek out .htaccess record inside of your public_html, merely create one

How to set default Timezone via htaccess in cPanel

Step::7 After you have the .htaccess record, position the code given beneath

<IfModule php5_module>
 php_value date.timezone ="Asia/Kolkata"
</IfModule>

How to set default Timezone via htaccess in cPanel

Don’t overlook to save lots of the recordsdata.

Now attempt to open this trying out.php record in a brand new tab. You’re going to to find that your web site is appearing the right kind time.

How to set default Timezone via htaccess in cPanel

Thank you for Studying this text…We are hoping this was once useful to you all!!

For more info, kindly practice us on social media like Twitter and Fb and for video tutorials, subscribe to our YouTube channelhttps://youtube.com/redserverhost.com 

Fb Web page– https://fb.com/redserverhost

Twitter Web pagehttps://twitter.com/redserverhost.com

In case you have any tips or issues associated with this instructional, please tell us by the use of the remark phase beneath.

Tags: reasonable linux internet hostingpurchase linux internet hostingreasonable reseller internet hostingpurchase reseller internet hostingbest possible reseller internet hostingreasonable internet internet hostingleast expensive internet internet hostingleast expensive reseller internet hosting,  reasonable reseller hostreasonable linux hostleast expensive linux internet hostingbest possible linux internet hostingbest possible internet internet hosting

LEAVE A REPLY

Please enter your comment!
Please enter your name here