New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

Error with ionCube Encoder version

Started by Nirvak, June 09, 2017, 06:46:28 PM

Previous topic - Next topic

Nirvak

Hello,

I have an error 500 on CWP login page:
Quote[Fri Jun 09 20:29:27 2017] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error:  <br>The file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed. in Unknown on line 0

How can I solve this issue?

Quote# php -v
PHP 5.4.45 (cli) (built: Jun  9 2017 18:53:59)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.5, Copyright (c) 2002-2016, by ionCube Ltd.

Should I update my PHP version to 5.6? If yes, can you describe how?

Administrator

yum install cwp-php
if that fails then you can use php switcher to build required version

anhtn

Quote from: Administrator on June 10, 2017, 08:30:20 AM
yum install cwp-php
if that fails then you can use php switcher to build required version

Same issue, I installed cwp-php, and now #php -v is

PHP 5.6.30 (cli) (built: Jan 30 2017 15:28:10)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.9, Copyright (c) 2002-2016, by ionCube Ltd.


but the error log has still there, please help :(

PHP Fatal error:  <br>The file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed. in Unknown on line 0

Administrator

what is your cwp version, use this command to check
/scripts/cwp_version

anhtn

Quote from: Administrator on July 06, 2017, 09:11:06 AM
what is your cwp version, use this command to check
/scripts/cwp_version

I can not check it :(

# /scripts/cwp_version
-bash: /scripts/cwp_version: Permission denied

anhtn

#5
But i have just installed from http://centos-webpanel.com/cwp-latest this afternoon
Its latest

anhtn

because it's urgent task, so I re-install the cwp, and now in error_log display

[emerg] 2660#0: unexpected end of file, expecting ";" or "}" in /usr/local/cwpsrv/conf.d/php.conf:3

and the cwp:

This site can't be reached
webpage refused to connect.

the #/scripts/cwp_version still dont have permission

:'( :'( :'(

Administrator

the best would be that you contact support since looks like you have now multiple issues

bupet

#8
i get this error now, but this command yum install cwp-php doesnt help...
As for using php switcher is not good advise ... 
if your seeing this error you cant access your panel. 
if you reboot server the error goes away until i click on the"php selector" so in my case php selector is triggering the error.
so is there anyone that knows whats happening?

and please dont tell me to contact support , $7 pr visit  and/or  $12 a month is way to expensive.

ktsourdinis

I have the same problem

2018/08/27 13:14:54 [error] 6969#0: *66 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 10.1.1.94, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "10.1.7.78:2030"

php ver 5.4.45

cwp ver permission denied

What can I do?

Sandeep

Quote from: ktsourdinis on August 27, 2018, 11:19:02 AM
I have the same problem

2018/08/27 13:14:54 [error] 6969#0: *66 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 10.1.1.94, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "10.1.7.78:2030"

php ver 5.4.45

cwp ver permission denied

What can I do?

either take backup of your data and reinstall cwp7 on centos 7 or contact us via support portal for investigation and resolving the issue.