-1

i faced this problem when i open phpmyadmin. enter image description here

I was installed, php7.0, nginx, and phpmyadmin 4.7.2 (Download the file and unzip it, put in /usr/share/phpMyAdmin , granted permission 0755)

I have no problem when run the php files, i still can check my php file, just cant open the phpmyadmin. Any clues on it?

UPDATE 1
After i check the log file located in /var/log/php-fpm/www-error.log, and then I try this with the command /sbin/restorecon -R /usr/share/nginx/html/phpMyAdmin
then it show up another error which i need to enable a mbstring. enter image description here

Ben
  • 443
  • 4
  • 16

2 Answers2

0

You need to use ln -s command to link the phpmyadmin to localhost/phpmyadmin

Sujit Baniya
  • 895
  • 9
  • 27
  • Hi, i do copied and use the command ln -s, but it appear the problem that i state above. – Ben Jun 30 '17 at 06:49
0

According to the link Missing mbstring PHP extension when installing phpMyAdmin on Mac, doesnt work with php7, so i use this command.

yum install phpp70w-mbstring

It works after i restart the php-fpm. This question is solve.

Ben
  • 443
  • 4
  • 16