This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 6 Problems / Re: /htdocs/resources/admin/include/cron.php has expired. in Unknown on line 0
« on: April 24, 2023, 06:20:27 AM »
We are on Centos 6 and cannot access CWP. I followed the manual update procedure as outlined in this post. First checked PHP version:
root@app services]# /usr/local/cwp/php71/bin/php -v
PHP 7.2.30 (cli) (built: Apr 29 2020 05:07:56) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.5, Copyright (c) 2002-2018, by ionCube Ltd.
Then:
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
sh /scripts/update_cwp
-----------------------------
The update_cwp fails:
[root@app services]# sh /scripts/update_cwp
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
in Unknown on line 0
-----------------------------
I read the post by bfs stating that if /usr/local/cwp/php71/bin/php -v returns PHP 7.2, the steps above WILL NOT WORK.
Too late. How do I get php 7.0.x installed with cwp2-0.9.8.763.zip so that CWP will become usable again on Centos 6?
root@app services]# /usr/local/cwp/php71/bin/php -v
PHP 7.2.30 (cli) (built: Apr 29 2020 05:07:56) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.5, Copyright (c) 2002-2018, by ionCube Ltd.
Then:
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
sh /scripts/update_cwp
-----------------------------
The update_cwp fails:
[root@app services]# sh /scripts/update_cwp
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
in Unknown on line 0
-----------------------------
I read the post by bfs stating that if /usr/local/cwp/php71/bin/php -v returns PHP 7.2, the steps above WILL NOT WORK.
Too late. How do I get php 7.0.x installed with cwp2-0.9.8.763.zip so that CWP will become usable again on Centos 6?
Pages: [1]