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

Pages: 1 [2]
16
PHP / manual install php fpm
« on: February 24, 2020, 08:55:37 AM »
who can write steps how install php fpm?
for example php72-fpm, php7.3-fpm for nginx+apache
 google samples not match because of different config paths in cwp

17
Installation / centos 7 with virtualbox
« on: February 24, 2020, 08:49:52 AM »
Is any install tips?
I setup nat local ip 192.168.1.39
but I have 2 problems
nginx+apache dont want work together
all domains show 404 error on any files

18
CentOS 6 Problems / 500 Server Error
« on: October 11, 2019, 10:21:05 PM »
when I open url http:/IP I get default page HTTP Test Page
powered by CWP | CentOS-WebPanel.com

when I open url https:/IP I get error
Quote
500 Server Error

Oops, something went wrong.

Try to refresh this page or feel free to contact us if the problem persists.

In logs I see nothing
How to fix?

19
CentOS 6 Problems / httpd restart
« on: October 05, 2019, 07:42:46 PM »
I try to restart httpd with command but I get error
Quote
service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [FAILED]
but when I do restart from panel, httpd restarts without errors
why? what command panel is using?

20
PHP / Re: How to compile PHP with support for webp in gd?
« on: June 10, 2019, 09:57:37 AM »
here is solution
1 install libwebp
2 edit php config build file /usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/7.1.ini  or use any php version
3 add in bottom
Code: [Select]
[webp]
default=1
option="--with-webp-dir=/usr/lib64/"
4 rebuild php

21
PHP / Re: How to compile PHP with support for webp in gd?
« on: June 09, 2019, 01:38:31 PM »
it looks php-fpm not have webp
how  enable it?

22
PHP / Re: How to compile PHP with support for webp in gd?
« on: June 09, 2019, 09:31:44 AM »
hi
how enable wepb support in php?
gd -> WebP Support -> enabled

23
CentOS-WebPanel Bugs / php fpm socket not create
« on: March 22, 2019, 02:09:38 PM »
CWP version: 0.9.8.785
after installed php fpm no sockets create
ls /opt/alt/php-fpm70/usr/var/sockets/ empty

24
PHP / Re: php fpm socket not create
« on: March 22, 2019, 02:02:09 PM »
can it be bug new panel version?

25
PHP / php fpm socket not create
« on: March 21, 2019, 08:51:30 PM »
CWP version: 0.9.8.785
strange error- after installed php fpm no sockets create
ls /opt/alt/php-fpm70/usr/var/sockets/ empty
checked another cwp- sockets created

26
CentOS-WebPanel Bugs / nginx header expire bug
« on: December 24, 2018, 02:04:43 PM »
I use cwp 7, nginx+apache
Add new domain, add image i.jpg, then in headers no expire value
here is nginx config
Code: [Select]
location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)\$ {
root /home/t/public_html/qq.com;
expires max;
try_files \$uri \@backend;
}

error_page 405 = \@backend;
error_page 500 = \@custom;
add_header X-Cache "HIT from Backend";
proxy_pass http://192.168.1.132:8181;
include proxy.inc;
}


is it correct or has typos?
I removed \$ => $ and remove try_files \$uri \@backend; and it start work
just like this
Code: [Select]
location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)$ {
root /home/t/public_html/qq.com;
expires max;
# try_files \$uri \@backend;
}

error_page 405 = \@backend;
error_page 500 = \@custom;
add_header X-Cache "HIT from Backend";
proxy_pass http://192.168.1.132:8181;
include proxy.inc;
}
any ideas?

27
Nginx / nginx cache headers
« on: December 24, 2018, 08:55:13 AM »
I use cwp7 with nginx+varnish+apache
I want set expires headers for images and css
where in panel I can set this settings?

28
PHP / Re: cwp7 php fpm Selector
« on: December 17, 2018, 08:01:19 PM »
ok
but why cwp has double cache apc and opcache? and after uncheck apc cwp not removed it?
is it bug?

29
PHP / cwp7 php fpm Selector
« on: December 15, 2018, 03:12:48 PM »
I use php fpm 7.3
in config there is opcache and apcu checked
I disable checkbox apcu, then click rebuild, restart php fpm but apcu still loaded
how remove it?

Pages: 1 [2]