Jump to content


* * * * * 1 votes

reinstall phpmyadmin with php 7.3.3 VestaCP ( CENTOS 6.X 64 )


  • Please log in to reply
No replies to this topic

#1 Pirate Tony

Pirate Tony

    Advanced Member

  • Members
  • PipPipPip
  • 291 posts

Posted 10 March 2019 - 12:50 PM

This is a common problem with VestaCP on Centos 6.x 64 after upgrading php to 7.3.3 the phpmyadmin stop working, so execute :

yum install epel-release

then

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

and

yum --enablerepo=remi install phpmyadmin

go to :

 /etc/httpd/conf.d/phpMyAdmin.conf

and change the line :

 

Allow from 127.0.0.1 so it should look like below :

<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
#Deny from all
Allow from all
</IfModule>
</Directory>

download the auto fix for phpmyadmin  :

curl -O -k https://raw.githubusercontent.com/skurudo/phpmyadmin-fixer/master/pma-centos.sh && chmod +x pma-centos.sh && ./pma-centos.sh

add correct permissions :

chmod 777 /var/lib/php/session/

now restart the httpd

service httpd restart

Everything should work.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users