Control Web Panel

Developers => Scripts => Topic started by: Dragon on October 20, 2022, 02:03:48 AM

Title: update_cwp
Post by: Dragon on October 20, 2022, 02:03:48 AM
Hello,

I there is a fix for this issue

Code: [Select]
[root@server scripts]# sh update_cwp
update_cwp: line 1: /usr/local/cwp/php54/bin/php: No such file or directory
[root@server scripts]#



i am a centos 7 server
Title: Re: update_cwp
Post by: PakPos on October 20, 2022, 05:14:47 AM
using cwp gui ?
Title: Re: update_cwp
Post by: Dragon on October 20, 2022, 05:17:13 PM
using cwp gui ?


No terminal putty
Title: Re: update_cwp
Post by: PakPos on October 20, 2022, 06:39:49 PM
using cwp gui ?


No terminal putty


i mean.. try from gui
sorry my english bad
Title: Re: update_cwp
Post by: Dragon on October 21, 2022, 01:54:46 AM
using cwp gui ?


No terminal putty


i mean.. try from gui
sorry my english bad


No worries, but the panel is not working that's why i am trying to update the cwp from scripts folder 
Title: Re: update_cwp
Post by: PakPos on October 21, 2022, 02:17:06 AM


now i get your problem on my vps
then i read forum
some one said to remove network


so stupid i am... i do that yum remove


and not i lost the ip


damn

must re deploy new vps and i still dont know how to move it




https://i.vgy.me/AaJbqK.png
lol

Title: Re: update_cwp
Post by: overseer on January 07, 2023, 09:09:04 PM
I there is a fix for this issue

Code: [Select]
[root@server scripts]# sh update_cwp
update_cwp: line 1: /usr/local/cwp/php54/bin/php: No such file or directory
Use a more modern PHP version such as 7.4 (https://www.uxlinux.com/install-php-7-4-on-cwp-control-panel-manual-installation-guide/). If you have some particular need, you could even use PHP 7.1 just for CWP, internal to the server.