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

Pages: [1]
1
Installation / Pear
« on: November 28, 2022, 06:51:04 PM »
HI
I need help how to install php pear in to cwp any please only module i missing and i need it to set up my site

2
CSF Firewall / Block Country
« on: October 27, 2022, 03:28:27 AM »
Hi
Just wonder witch country i can block with out stop blocking updates?

3
CentOS-WebPanel GUI / System Activity Report
« on: February 13, 2021, 08:39:11 PM »
Hi
Show System Activity Report have i problem with it just loading and never stops...
my system is CentOS Stream release 8
any els that have this problem?

4
PHP / When i change php
« on: December 09, 2020, 05:16:51 AM »
Code: [Select]
configure: error: Package requirements (libwebp) were not met:

Package 'libwebp', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables WEBP_CFLAGS
and WEBP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 98: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 99: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 101: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to enable unit: Unit file php-fpm74.service does not exist.
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
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!

Clean centos 8 and pro and i cant change php at all
You are running PHP version: 5.6.37

5
Nginx / Nginx Reverse Proxy
« on: February 20, 2020, 04:58:58 PM »
Hi have a small problem with nginx after reboot  it dont auto start ....i can start it manual
nginx apache php fpm server config
do also use ssl

6
PHP / Re: Want upload big files
« on: January 24, 2020, 09:06:59 AM »
Is it only me that want this?
I need help

7
PHP / Want upload big files
« on: January 16, 2020, 02:25:38 PM »
I run Nginx & Varnish & Apache and Force Apache to use PHP-FPM Selector 7.3

And this is what i get
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

i have .user.ini in root with

Code: [Select]
date.timezone=Europe/Stockholm
register_globals=Off
display_errors=On
post_max_size=5000M
memory_limit=2048M
upload_max_filesize=5000M
max_execution_time=3600
expose_php=Off
session.save_path=/tmp
magic_quotes_gpc=Off
magic_quotes_runtime=Off
magic_quotes_sybase=Off
error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED

and have also that settings in php.ini and in nginx.conf i have client_max_body_size 5000M;

please need help

8
Information / Re: Hot link protection ??
« on: October 08, 2019, 09:18:55 AM »
must say this forum must have the best support ever....seems like a graveyard here

9
Information / Re: Hot link protection ??
« on: October 07, 2019, 08:50:22 AM »
Now i have just test webserver settings just apache and then htaccess work for hotlink but when i run Nginx & Varnish & Apache  so do nothing work

The team would embed hotlink protection to cwp that had been great

10
Information / Re: Hot link protection ??
« on: October 03, 2019, 09:08:41 AM »
i have test this in apache .htaccess
Code: [Select]
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://example.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.com.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.example.com/stophotlinking.jpg [R,NC]
and it dont work

i have test this in nginx /etc/nginx/conf.d/vhosts/www.example.com.conf
Code: [Select]
location ~ \.(jpe?g|png|gif)$ {
     valid_referers none blocked example.com *.example.com;
     if ($invalid_referer) {
        return   403;
    }
}
and it dont work
Can some one test this also so its just not me that it fails for

11
FTP / File Manager
« on: October 01, 2019, 08:48:34 AM »
I have a small or big problem i cant upload  folders with files in ....through file manager
but i can just upload files
can somebody help me

Pages: [1]