Destramic Posted October 27, 2014 Share Posted October 27, 2014 i have just recently purchase a server but the ttimezone is way off on both php and mysql...i did a bit of reading to create my own php.ini file so i can change timezone but it doesnt seem to change root in phpinfo() php.ini date.timezone = "Europe/London" .htaccess <Files ~ "\.(ini)$"> order allow,deny deny from all </Files> SetEnv php.ini // same location as .htacess so im boggled to why my custom php.ini isnt being read also is there a way to customise a my.cnf file from my .htaccess to change settings? thank you Quote Link to comment Share on other sites More sharing options...
Ch0cu3r Posted October 27, 2014 Share Posted October 27, 2014 The server you purchased does it allow you to login to it via ssh as that is the best way to configure PHP and MySQL. MySQL cannot be affected by .htaccess files. Quote Link to comment Share on other sites More sharing options...
Destramic Posted October 27, 2014 Author Share Posted October 27, 2014 ive checked the control panel and there's no way i can change or add options to it Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted November 2, 2014 Share Posted November 2, 2014 why don't you change the default date and timezone in the entire server rather in application level? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.