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 - evehq

Pages: 1 [2]
16
PHP / Re: Update issue
« on: March 07, 2022, 05:03:30 AM »
That should be fine, because there should be a socket file in php-fpm73.  Ideally, you should not be using the cwpsrv php-fpm, but the client version in /opt/alt/php*

I understand that I should not use it, I followed your advice in previous posts and I stopped getting 502 using cwp's php, because in this route

/opt/alt/php-fpm73/usr/var/sockets



there is nothing, the files are deleted, as I explained in the first post, I can do a clean installation of the panel, I put the wordpress, I do the configuration that I have, but after a few hours of working the djflakf1.sock file is deleted and I do not understand why in fact others have reported the same

http://forum.centos-webpanel.com/php/php-fpm-socket-not-create/


17
PHP / Re: Update issue
« on: March 07, 2022, 03:41:33 AM »
If I do that, that is, edit the file, which is what you suggested, I will have the bad gateway problem again because the djflakf.sock file is deleted

18
PHP / Re: Update issue
« on: March 05, 2022, 09:06:58 PM »
1. im using that path for this issue that i had with "bad gateway" in this post https://forum.centos-webpanel.com/index.php?topic=11864.0 after change that how @rcschaff my site is working normally


2. PHP INFO

 


3. Im using nginx no apache however is this





4. Step two





19
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 05, 2022, 08:54:05 PM »
Thanks for u help, now im want to upgrade php 7.1 that u can see here /usr/local/cwp/php71 to 7.3 how can i do that?

20
PHP / Update issue
« on: March 05, 2022, 07:18:12 PM »
Hello, I want to update my php, this is because in wordpress it tells me that I have version 7.2



In my vhost configuration file I have this address associated with php /usr/local/cwp/php71


but in my panel it says that I am running version 7.4 which is not true because wordpress is mentioning that I have an old one



How can I upgrade to 7.4?

21
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 03, 2022, 03:19:58 AM »
please check

/usr/local/cwp/php71/etc/php-fpm.d/users/djflakfl.conf

make sure that the following are set:

Code: [Select]
listen.group = "djflakfl"
listen.mode = 0660
user = "djflakfl"
group = "djflakfl"

if any are not set correctly, please correct them, and restart cwpphp via

systemctl restart cwpsrv-phpfpm.service



*** Temporarily, you can "  chmod 660 /usr/local/cwp/php71/var/sockets/djflakfl.sock  "



My site is working now with NGINX... however doing u steps

content of the file




Using the command for restart



22
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 03, 2022, 01:08:32 AM »

23
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 03, 2022, 12:36:58 AM »
 *20 connect() to unix:/usr/local/cwp/php71/var/sockets/djflakf1.sock failed (13: Permission denied) while connecting to upstream, client: 185.191.171.39,

24
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 02, 2022, 12:18:14 AM »
Excuse me, maybe I expressed myself incorrectly, the problem I have is this, following your advice, I did the reinstallation of everything with nginx php-fpm, first using the command you gave me but it gave me the following error



Then I did the process using web server selection and the reconstruction of the vhosts, done that I have the same problem again with error 502 bad gateway, and it throws me the error that I mentioned about the missing file djflakf1.sock, which should be located in /opt/alt/php-fpm73/usr/var/sockets/djflakf1.sock , this file is no longer there, so even if I do the reconstruction that you recommend, the problem persists.

I could use a snapshot that I have in the virtual machine to go back to a state where those files are, but after an hour or two, those files are deleted without giving me a reason why.

For this problem I have to use apache, but I want to use nginx

25
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 01, 2022, 07:20:15 PM »
The picture says that you haven't clicked on "alt" folder. So, click it.

Edit:
Nevermind, I can see the issue
Path /opt/alt/php-fpm*/var/socket does not exist.
It should be /opt/alt/php-fpm*/usr/var/socket

Have you modified the php-fpm template or conf files recently?
It should be like this:
Code: [Select]
[%backend%]
listen = /opt/alt/%phpfpmver%/usr/var/sockets/%backend%.sock
listen.allowed_clients = 127.0.0.1
....
....

This is my block file configuration, that file show this path

fastcgi_pass    unix:/opt/alt/php-fpm73/usr/var/sockets/djflakf1.sock;



i didnt change any other file... like i told u i installed nginx and after a few hours that file is deleted, im talking about djflakf1.sock , after that i have 502 bad gateway

26
CentOS 7 Problems / PHP FPM 7.3 Error centOS
« on: March 01, 2022, 03:55:51 AM »


I don't understand what is happening, I install wordpress with Nginx on CentOS installed the CWP, spend an hour, hours and the file with the username .sock that is in /opt/alt/php-fpm73/var/sockets and deletes, which causes a 502, I have to change to apache because I can't use nginx, could someone help me?


connect() to unix:/opt/alt/php-fpm73/usr/var/sockets/djflakf1.sock failed (2: No such file or directory) while connecting to upstream,

Pages: 1 [2]