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 ›

CWP can't compile php-fpm 8.2

Started by skyref, October 17, 2023, 10:24:54 AM

Previous topic - Next topic

skyref

8.1 work ok. at 8.2 i get all time error logs that all .so ale unaivailable or similar
Almalinux 8.8, installed all updates - i guest that most of them should be the same as 8.1

errors whcih  i found:
at end:
"Error: Can't add notification!" what is mean ?

in compiling:
"shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory"
what folder ? why it not create it then ? i compile new php version. - it has no folders so why it except that it exist instead create it ?


"
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target 'install'. Stop.

"
- I doesnt change defaul postgresql installation path...


"
Error: Unable to find a match: compat-openldap openldap-servers-sql
"

at 8.1 the same modules not have problem - i guest it should be the same...


turn off all modules also not compile php (fpm) 8.2....
i am still looking for logs which could say what happening, why it doesnt work.

Internet and dns works ok.

I liked cwp but there is much problems with it. it often and often not work out of box or update destroy something and stop completly work sometimes makes is less and less ready to use...

And all time i get info that i need pay to get help but it should work i never did anything to broke it.

nagiyevel

Managing compile options for Your PHP version. In my case nano /usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/8.2_last_build.ini and find the following part

[pgsql]
default="0"
option="--with-pgsql=/usr/pgsql-16/bin"
info-file="pgsql.txt"
[pdo-pgsql]
default="0"
option="--with-pdo-pgsql=/usr/pgsql-16/bin"
info-file="pdo-pgsql.txt"


Edit and set the postgresql bin path for options --with-pgsql and --with-pdo-pgsql. In my case the postgresql bin path was /usr/pgsql-16/bin.


[pgsql]
default="1"
option="--with-pgsql=/usr/pgsql-16/bin"
info-file="pgsql.txt"
[pdo-pgsql]
default="1"
option="--with-pdo-pgsql=/usr/pgsql-16/bin"
info-file="pdo-pgsql.txt"


You can also edit this file from CWP panel too.

Now You will be able to compile PHP from source code.

Additionally you can find your postgresql bin dir with the command pg_config --bindir

skyref

#2
Thank you.
It is not exactly repair all what happen just running cwp which autopdate and addding accounts and sites, and update time to time from cwp panel - nothing more, but I found cause of problems: much of packets are outdated:
eg. MariaDB was 10.4 and it couldnt work with php8.2 (at 8.1 work).
PQSQL is 14 etc...

QuoteYou can also edit this file from CWP panel too
Panel stopped work i got 404 Error - not found, nothing from old threads help, so  for me best will be wait for CWP EL 9 and install it from 0, or mayby after i update all what is need magically it start work...
User panels work normally.
I don't have problem check actual pqsql version and folders, but command not work.


Another problem is some configs eg.
/etc/yum.repos.d/mariadb.repo
had:
baseurl = http://yum.mariadb.org/11/centos8-amd64

But there not was centos8 only RHEL8
I don't have Centos8, Its Almalinux8