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
Installation / Re: Issue with phpPgAdmin - Can not open it and getting error message
« on: January 02, 2023, 07:57:24 AM »
Updates:
I removed Centos7, reinstalled Distro Name: CentOS Stream release 8 Kernel Version: 4.18.0-408.el8.x86_64 and then installed the CWP version: 0.9.8.1148; after rebooting the server, I switched to PHP 8.1.6 and enabled extension=pdo_pgsql and extension=pgsql, and uncommented those two lines in php.ini as well.
After that, I rebuilt the apache with --with-pgsql and rebooted the server.
Then I installed the PostgreSQL Manager and installed 13.9. Restarted httpd but phpPgAdmin did not appear, so again I ran the following ;
After running the above script, phpPgAdmin appeared left side; But still no luck, and it ended with the following message;
I think PhpPgAdmin is not supported with the CWP panel; even then, I cleaned and installed it twice and followed all the steps but no luck. I shall be grateful if someone, please assist in this regard.
I removed Centos7, reinstalled Distro Name: CentOS Stream release 8 Kernel Version: 4.18.0-408.el8.x86_64 and then installed the CWP version: 0.9.8.1148; after rebooting the server, I switched to PHP 8.1.6 and enabled extension=pdo_pgsql and extension=pgsql, and uncommented those two lines in php.ini as well.
After that, I rebuilt the apache with --with-pgsql and rebooted the server.
Then I installed the PostgreSQL Manager and installed 13.9. Restarted httpd but phpPgAdmin did not appear, so again I ran the following ;
Code: [Select]
sh /scripts/install_phpPgAdmin
After running the above script, phpPgAdmin appeared left side; But still no luck, and it ended with the following message;
Quote
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
I think PhpPgAdmin is not supported with the CWP panel; even then, I cleaned and installed it twice and followed all the steps but no luck. I shall be grateful if someone, please assist in this regard.
2
Installation / Issue with phpPgAdmin - Can not open it and getting error message
« on: December 28, 2022, 06:22:19 AM »
Hi, I am running CWP 0.9.8.1148 on CentOS Linux release 7.9.2009 (Core) OS. I have Installed PHP Version 8.0.0 and uncommented the following in PHP.ini Configuration; I also On the toggled button (pgsql, pdo-pgsql) while installing PHP 8
extension=pdo_pgsql
extension=pgsql
I also installed PostgreSQL 13.9 from PostgreSQL Manager. I restarted the Apache and PostgreSQL, but phpPgAdmin did not appear, so I Googled and found the following script;
After running the above, the phpPgAdmin appeared in CWP. But When I click on it, I get the following error;
After that, I went back to CWP Apache Re-Build and added "--with-pgsql" under Additional configuration (only for advanced users): and started the compiler in Background. Once the compiler finished, I restarted Apache and PostgreSQL as well as rebooted the whole server, but still I am getting the following error;
I Googled a lot but could not find any resolution; I tried everything I mentioned above and found it here on the CWP forum.
I shall be thankful if someone could assist in this regard.
extension=pdo_pgsql
extension=pgsql
I also installed PostgreSQL 13.9 from PostgreSQL Manager. I restarted the Apache and PostgreSQL, but phpPgAdmin did not appear, so I Googled and found the following script;
Code: [Select]
sh /scripts/install_phpPgAdmin
After running the above, the phpPgAdmin appeared in CWP. But When I click on it, I get the following error;
Quote
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
After that, I went back to CWP Apache Re-Build and added "--with-pgsql" under Additional configuration (only for advanced users): and started the compiler in Background. Once the compiler finished, I restarted Apache and PostgreSQL as well as rebooted the whole server, but still I am getting the following error;
Quote
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
I Googled a lot but could not find any resolution; I tried everything I mentioned above and found it here on the CWP forum.
I shall be thankful if someone could assist in this regard.
3
CentOS-WebPanel GUI / Can not access CWP Panel with Port
« on: November 11, 2019, 08:46:57 AM »
Hi, I can not access my CWP Panel with 2030 or 2031. It was working fine but suddenly went down. However, I can see the default home page by visiting ip.
When I try to run the sh /scripts/update_cwp I get the following error;
Here are the further results;
When I try to run the sh /scripts/update_cwp I get the following error;
Code: [Select]
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
in Unknown on line 0
Here are the further results;
Code: [Select]
[root@wsvr src]# curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 899 100 899 0 0 3499 0 --:--:-- --:--:-- --:--:-- 3498
===============================================
Kernel:
Linux wsvr.casw.muet 3.10.0-1062.4.1.el7.x86_64 #1 SMP Fri Oct 18 17:15:30 UTC 2 019 x86_64 x86_64 x86_64 GNU/Linux
CPU info:
model name : Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Release:
CentOS Linux release 7.7.1908 (Core)
Arch:
x86_64
Virtualization Type:
Memory:
total used free shared buff/cache available
Mem: 31880 851 30476 22 551 30668
Swap: 30519 0 30519
MySQL info:
mysql Ver 15.1 Distrib 10.2.18-MariaDB, for Linux (x86_64) using readline 5.1
Disk Info:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 19M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/centos-root 2.2T 9.0G 2.0T 1% /
/dev/sda2 2.4G 245M 2.0G 11% /boot
/dev/sda1 2.5G 12M 2.5G 1% /boot/efi
tmpfs 3.2G 12K 3.2G 1% /run/user/42
tmpfs 3.2G 0 3.2G 0% /run/user/0
#
# /etc/fstab
# Created by anaconda on Fri Oct 26 18:11:16 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root / ext4 defaults 1 1
UUID=e1cc66a2-e5d1-41ab-a05d-164e8e474e09 /boot ext4 defaul ts 1 2
UUID=270F-16E4 /boot/efi vfat umask=0077,shortname=win nt 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
Apache PHP info:
PHP 5.6.37 (cli) (built: Jul 20 2018 06:10:33)
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.8, Copyright (c) 2002-2016, by ionCube Ltd.
Apache start script check:
grep: /etc/init.d/httpd: No such file or directory
CWP Admin check:
/usr/local/cwpsrv/htdocs/admin
CWP version:
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_version has expi red.
in Unknown on line 0
4
CentOS Configuration / Wants to use CWP in local area environment
« on: January 02, 2019, 09:04:06 AM »
Hi,
I am a newbie on this. I have successfully installed CWP version: 0.9.8.740 on my CentOS7 SVR.
My server doesn't have a public IP but access to the internet. I have given net-ed IP (my local SVR IP)
Actually, this is my first time, I want to use/try CWP in a local area environment for the development purpose. Let's suppose; this is my server IP: 172.16.69.230 I can see the index.html page on this IP. and assume that I have created two accounts named "moodle" and "apps" from root CWP.
Is it possible to access those accounts via local IP? like http://172.16.69.230/moodle/ opens the index.html page and 172.16.69.230/apps/ open its own uploaded site.
My question is just like we install Xampp or WampServer in computer and then access the desired site locally. I know there is no need to install CWP if I want to do like this. But as I mentioned we will host different development apps in CWP user accounts and sooner or later we will switch to public IPs/domains.
And an apology, if my questioned, is not cleared.
I am a newbie on this. I have successfully installed CWP version: 0.9.8.740 on my CentOS7 SVR.
My server doesn't have a public IP but access to the internet. I have given net-ed IP (my local SVR IP)
Actually, this is my first time, I want to use/try CWP in a local area environment for the development purpose. Let's suppose; this is my server IP: 172.16.69.230 I can see the index.html page on this IP. and assume that I have created two accounts named "moodle" and "apps" from root CWP.
Is it possible to access those accounts via local IP? like http://172.16.69.230/moodle/ opens the index.html page and 172.16.69.230/apps/ open its own uploaded site.
My question is just like we install Xampp or WampServer in computer and then access the desired site locally. I know there is no need to install CWP if I want to do like this. But as I mentioned we will host different development apps in CWP user accounts and sooner or later we will switch to public IPs/domains.
And an apology, if my questioned, is not cleared.
Pages: [1]