Show Posts

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.


Messages - juniarley

Pages: [1]
1
I managed to solve it by building the pgsql and pdo_pgsql modules

Edit php.ini
/usr/local/cwp/php71/php.ini

extension=pdo_pgsql
extension=pgsql


First:
 I check the version:
Code: [Select]
/usr/local/cwp/php71/bin/php -v
Download php version

Code: [Select]
cd /tmp
Code: [Select]
wget http://id1.php.net/distributions/php-7.2.30.tar.gz
Code: [Select]
tar xzf php-7.2.30.tar.gz
Code: [Select]
cd php-7.2.30/ext/pdo_pgsql
Code: [Select]
phpize
Code: [Select]
./configure --with-php-config=/usr/local/cwp/php71/bin/php-config
Code: [Select]
make
Code: [Select]
make install
Code: [Select]
cd php-7.2.30/ext/pgsql
Code: [Select]
phpize
Code: [Select]
./configure --with-php-config=/usr/local/cwp/php71/bin/php-config
Code: [Select]
make
Code: [Select]
make install
Code: [Select]
sh /scripts/restart_cwpsrv


2
Follow that step by step and it worked thanks for giving me that light

http://forum.centos-webpanel.com/index.php?topic=8793.msg30680#msg30680

3
For Solutions:
http://forum.centos-webpanel.com/index.php?topic=8793.msg30709#msg30709  , It works

I had already tried it doesn't work

Code: [Select]
sh /scripts/update_cwp
PHP Fatal error:  The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.
 Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

Fatal error: The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.
 Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

4
accessing admin panel displays error

Quote
Fatal error: The file /usr/local/cwpsrv/htdocs/admin/index.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0


 
Quote
yum info cwp-php
Loaded plugins: fastestmirror, replace, security
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.net
 * extras: centos.schlundtech.de
 * rpmforge: ftp.nluug.nl
 * updates: centosmirror.netcup.net
Available Packages
Name        : cwp-php
Arch        : x86_64
Version     : 5.6.37
Release     : 1
Size        : 8.1 M
Repo        : cwp
Summary     : PHP 5.6 for CWP
URL         : http://centos-webpanel.com/
License     : Proprietary License
Description : PHP 5.6 For CWP


Quote
yum info cwpphp
Loaded plugins: fastestmirror, replace, security
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.net
 * extras: centos.schlundtech.de
 * rpmforge: ftp.nluug.nl
 * updates: centosmirror.netcup.net
varnishcache_varnish5/signature                                                   |  836 B     00:00
varnishcache_varnish5/signature                                                   | 1.0 kB     00:00 ...
varnishcache_varnish5-source/signature                                            |  836 B     00:00
varnishcache_varnish5-source/signature                                            | 1.0 kB     00:00 ...
Installed Packages
Name        : cwpphp
Arch        : x86_64
Version     : 7.2.30
Release     : 2
Size        : 64 M
Repo        : installed
From repo   : cwp
Summary     : PHP-FPM for cwpsrv
URL         : http://centos-webpanel.com/
License     : Proprietary License
Description : PHP-FPM Daemon for cwpsrv


Quote
yum info cwpsrv
Loaded plugins: fastestmirror, replace, security
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.net
 * extras: centos.schlundtech.de
 * rpmforge: ftp.nluug.nl
 * updates: centosmirror.netcup.net
Installed Packages
Name        : cwpsrv
Arch        : x86_64
Version     : 1.15.10
Release     : 4
Size        : 826 k
Repo        : installed
From repo   : cwp
Summary     : CWP daemon
URL         : http://centos-webpanel.com
License     : Proprietary License
Description : This package provides cwpsrv service




Pages: [1]