Fresh install cwp in centos 7, phpmyadmin error 404

Started by Jeffri2005, October 13, 2017, 11:42:05 AM

Previous topic - Next topic

Jeffri2005

Hi I'm new using cwp in centos 7 after installing I wan to insert mysql database using phpmyadmin but error 404 not found n url for phpmyadmin is http://myipddress/pma have ready check in /usr/local/apache/htdocs no phpmyadmin folder.

How to fix this, plz help

darkness

As CWP6/7 cannot be deinstalled you need to reinstall the whole OS. My advice is to run the installer again.

cd /usr/local/src
sh cwp-el7-latest

Let it finish and check again for pma. If it`s not working try like this:

cd /usr/local/cwpsrv/var/services
wget -q http://dl1.centos-webpanel.com/files/mysql/phpMyAdmin-4.6.6-all-languages.zip
unzip -o phpMyAdmin-4.6.6-all-languages.zip
mv phpMyAdmin-4.6.6-all-languages pma
rm -Rf phpMyAdmin-4.6.6-all-languages.zip pma/setup
mv /usr/local/cwpsrv/var/services/pma/config.sample.inc.php /usr/local/cwpsrv/var/services/pma/config.inc.php
ran_password=$(</dev/urandom tr -dc A-Za-z0-9 | head -c32)
sed -i "s|\['blowfish_secret'\] = ''|\['blowfish_secret'\] = '${ran_password}'|" /usr/local/cwpsrv/var/services/pma/config.inc.php

Please report if one of the ways is working.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Jeffri2005

Sorry about the late reply, I have successfully fix the problem with first way. Thanks very much

par2cola

Hi,

I have a simular problem. My PMA folder is rename anydays.
In /usr/local/cwpsrv/var/services/ found  pma_04-03-2020.bak and need rename for pma manually.

NAZA

Quote from: Jeffri2005 on October 18, 2017, 01:51:47 PM
Sorry about the late reply, I have successfully fix the problem with first way. Thanks very much
Hi, How to fix the problem. I have the same problem.
_
Distro Name: AlmaLinux release 9.8 (Olive Jaguar)
CWPpro version: 1.8
Web Servers: nginx-apache