Ask Your Question

phpmyadmin error

asked 2018-01-10 09:02:26 +0000

bionan2017 gravatar image

Hello, I installed phpmyadmin and when I try to access via localhost / phpMyAdmin the following error message appears:

Warning: require_once (): It is not safe to rely on the system's timezone settings. You are * required * to use the date.timezone setting or the date_default_timezone_set () function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/phpMyAdmin/libraries/common.inc.php on line 492

Parse error: syntax error, unexpected '@' in /usr/share/phpMyAdmin/libraries/common.inc.php on line 492

I'm using Fedora 27 and PHP version 7.1.12

Thanks for any help

edit retag flag offensive close merge delete


Hi, How did you install phpMyAdmin? That one looks like an version incompatibility error.

casep ( 2018-01-10 15:51:24 +0000 )edit

What is at line 492 in that file? It sounds like you are expected to edit that and put the right timezone in. Or you didn't do the install correctly and that was supposed to be modified during the install process.

Samuel Sieb ( 2018-01-10 20:06:44 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-11 11:17:13 +0000

bionan2017 gravatar image

Hello, It was a problem with the PHP version. phpmyadmin requires PHP> = 5.5 and the version I had installed on my computer was PHP 5.46. Just updating the PHP version and everything worked fine. Thanks to everyone who commented.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2018-01-10 09:02:26 +0000

Seen: 305 times

Last updated: Jan 11