Author Topic: Fresh install cwp in centos 7, phpmyadmin error 404  (Read 10906 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Fresh install cwp in centos 7, phpmyadmin error 404
« on: October 13, 2017, 11:42:05 AM »
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

Offline
***
Re: Fresh install cwp in centos 7, phpmyadmin error 404
« Reply #1 on: October 15, 2017, 02:55:28 AM »
As CWP6/7 cannot be deinstalled you need to reinstall the whole OS. My advice is to run the installer again.
Code: [Select]
cd /usr/local/src
sh cwp-el7-latest
Let it finish and check again for pma. If it`s not working try like this:
Code: [Select]
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 ...

Offline
*
Re: Fresh install cwp in centos 7, phpmyadmin error 404
« Reply #2 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

Offline
*
Re: Fresh install cwp in centos 7, phpmyadmin error 404
« Reply #3 on: March 09, 2020, 08:52:53 AM »
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.

Offline
*
Re: Fresh install cwp in centos 7, phpmyadmin error 404
« Reply #4 on: August 03, 2020, 04:29:35 AM »
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: CentOS Linux release 7.9 (Core)
CWPpro version: 0.9.8.1181
Web Servers: nginx-apache