Author Topic: CWP messed up  (Read 979 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP messed up
« on: March 23, 2017, 07:26:05 PM »
I was trying to update to mariadb and I screwed up with the repo. In the process some error occured and I am getting 502 Bad Gateway for CWP. The hosted sites are working fine.

One of the errors I am getting is

/usr/local/cwp/php71/bin/php: No such file or directory

Offline
**
Re: CWP messed up
« Reply #1 on: March 23, 2017, 07:57:02 PM »
For a quick and dirty fix try:

#which php

#ln -s ^^location of php ^^ /usr/local/bin

Offline
*****
Re: CWP messed up
« Reply #2 on: March 27, 2017, 06:53:55 PM »
Hello.

Try run command:
Code: [Select]
yum -y reinstall cwpphp