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
Step::2 Click on on Document Supervisor phase and pass to Public_html
Step::3 Create a record within the identify of trying out.php or check.php
Step::4 Now proper click on over the record and make a choice Edit
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
Step::7 After you have the .htaccess record, position the code given beneath
<IfModule php5_module> php_value date.timezone ="Asia/Kolkata" </IfModule>
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.
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 channel –https://youtube.com/redserverhost.com
Fb Web page– https://fb.com/redserverhost
Twitter Web page– https://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 hosting, purchase linux internet hosting, reasonable reseller internet hosting, purchase reseller internet hosting, best possible reseller internet hosting, reasonable internet internet hosting, least expensive internet internet hosting, least expensive reseller internet hosting, reasonable reseller host, reasonable linux host, least expensive linux internet hosting, best possible linux internet hosting, best possible internet internet hosting