Author Topic: LXC php-fpm  (Read 9098 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
LXC php-fpm
« on: May 24, 2020, 11:31:03 AM »
Hello

i am using centos7 in lxc, before activate php-fpm selector (new) i can open file php but i can change multiple php version.
I have use CWPpro version: 0.9.8.979
is that cwPpro doesnt support multiple php-fpm?
============================error_log====================
[Sun May 24 11:26:50.670863 2020] [proxy_fcgi:error] [pid 24640:tid 140366963496704] [client 117.20.48.98:50348] AH01079: failed to make connection to backend: httpd-UDS
[Sun May 24 11:26:51.069398 2020] [proxy:error] [pid 24639:tid 140367047423744] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/ardanin.sock (*) failed
[Sun May 24 11:26:51.069442 2020] [proxy_fcgi:error] [pid 24639:tid 140367047423744] [client 117.20.48.98:50352] AH01079: failed to make connection to backend: httpd-UDS
[Sun May 24 11:26:51.441376 2020] [proxy:error] [pid 24640:tid 140366980282112] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/ardanin.sock (*) failed
[Sun May 24 11:26:51.441424 2020] [proxy_fcgi:error] [pid 24640:tid 140366980282112] [client 117.20.48.98:50356] AH01079: failed to make connection to backend: httpd-UDS
=======================================================================================

Please help

Offline
****
Re: LXC php-fpm
« Reply #1 on: May 24, 2020, 11:33:25 AM »
1)  Does  /opt/alt/php-fpm56/ even exist.

If Yes: system start php-fpm56

if No:  Rebuild PHP 5.6 with fpm in CWP
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: LXC php-fpm
« Reply #2 on: May 24, 2020, 01:15:50 PM »
[root@queenara ~]# system start php-fpm56
-bash: system: command not found
[root@queenara ~]# systemctl start php-fpm56
[root@queenara ~]#


Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

  296 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm54/usr/etc/php-fpm.conf)
  300 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm73/usr/etc/php-fpm.conf)
  301 ?        Ss     0:00 php-fpm: master process (/usr/local/cwp/php71/etc/cwpsrv.conf)
  302 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm72/usr/etc/php-fpm.conf)
  303 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm53/usr/etc/php-fpm.conf)
  305 ?        Ss     0:00 php-fpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)
  306 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm56/usr/etc/php-fpm.conf)
  311 ?        Ss     0:00 /usr/sbin/sshd -D
  312 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm70/usr/etc/php-fpm.conf)
  313 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm55/usr/etc/php-fpm.conf)
  315 ?        Ss     0:00 php-fpm: master process (/opt/alt/php-fpm71/usr/etc/php-fpm.conf)

Offline
*****
Re: LXC php-fpm
« Reply #3 on: May 24, 2020, 02:14:32 PM »
if you have pro contact us via support ticket we'll look into it

Offline
*
Re: LXC php-fpm
« Reply #4 on: May 30, 2020, 11:59:32 AM »
hello i have cwp pro but not payment support.

i have open ticket [Ticket ID: 490453] 503 Service Unavailable

also how to repair this :Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

when i check error_log .htaccess: RewriteRule: bad flag delimiters

but that .htaccess work in old server same os using directadmin, how to passed it

Offline
*
Re: LXC php-fpm
« Reply #5 on: June 29, 2020, 02:19:58 PM »
if you have pro contact us via support ticket we'll look into it

So LXC then is not supported, from what I am gathering from your reply.

While cPanel site and provider has some "free" instructions and set of commands on how to install their cPanel Web Panel Properly  [which is a basic right, shouldn't be paid for, and should be shared information]:  https://docs.cpanel.net/knowledge-base/general-systems-administration/linux-containers/

I had issues with CWP when installed it on LXC, like when I create a 2nd subdomain, CWP falsely shows I do have a subdomain, yet there is no folder created for it. Or WordPress shows the same behavior. 

I tried to give CWP a chance...

Another reason I am sticking with the big guys.

thanx
« Last Edit: June 29, 2020, 02:23:14 PM by Arti07 »

Offline
*
Re: LXC php-fpm
« Reply #6 on: June 30, 2020, 08:48:34 PM »
Hello

i am using centos7 in lxc, before activate php-fpm selector (new) i can open file php but i can change multiple php version.
I have use CWPpro version: 0.9.8.979
is that cwPpro doesnt support multiple php-fpm?

Please help
Hi I have the same problem

Offline
*****
Re: LXC php-fpm
« Reply #7 on: July 01, 2020, 09:05:12 AM »
don't recommend to use LXC container instead use KVM for full virtualization and modules support.

Offline
*
Re: LXC php-fpm
« Reply #8 on: July 03, 2020, 01:28:10 PM »
WTHF... this weird but...

im using a LXC with a
centos-7-default_20190926 template...
CWPpro version: 0.9.8.994... CWP
In a Proxmox 6.2... Server

working around 2 week, and work properly

ironically I never walk so well ... apparently the CWP guys got their batteries.

the only problem I had was with the php-fpm when I migrated a site from another server to test ... and it was because I had not yet installed the fpm ... but I installed them from the same panel ... and boilá

Now i have all php versions installed and tested.