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

Pages: 1 ... 6 7 [8] 9 10 ... 25
106
PHP / Re: User's PHP.INI Editor not working
« on: November 06, 2021, 10:31:17 PM »
is that save with reboot server ? if yes.. then i did

because i dont know what is wrong... i prefer reboot than restart service

Yes, should work with reboot.

Did you try to update Ioncube.?!
Code: [Select]
# /scripts/update_ioncube

107
check other files there, also try to check the filename
file location depends on the setup you have proxy or php-fpm

proxy :/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/
php-fpm: /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/php-fpm/

Yes, all files located like that.
I already check them, checked location, permissions, ownership, directories, but the files simply vanished from the panel, and are not being showed in Webservers Main/Domain Conf.
But, strangely, are being showed in "WebServers Template Editor".
Checked included the lsattr atributes of that files, but all identical: '-------------e--'

So, I created 40 additional templates, but they are unusable because they are not showing up in "WebServers Template Editor".
Three or four weeks ago, they were all showing up normally in the panel.

Restarted cwp-phpfpm, cwpsrv-phpfpm and cwpsrv services, but no effect.
I'm thinking serioulsy was a bug introduced some weeks ago.

108
The files I created are available in the Template editing tool (in "WebServer Settings" | "WebServers Template Editor"), but not available in the template usage tool ("WebServer Settings" | "WebServers Main Conf" and "WebServer Settings" | "WebServers Domain Conf").

The nginx templates shouldn't be in /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/ ??

(I'm using CWPpro version: 0.9.8.1098)

109
PHP / Re: User's PHP.INI Editor not working
« on: November 04, 2021, 09:55:14 PM »
Did you try to restart PHP-FPM servers.?

Like:
Code: [Select]
# systemctl restart php-fpm53.service
# systemctl restart php-fpm54.service
# systemctl restart php-fpm55.service
# systemctl restart php-fpm56.service
# systemctl restart php-fpm70.service
# systemctl restart php-fpm71.service
# systemctl restart php-fpm72.service
# systemctl restart php-fpm74.service

In using PHP-FPM, they have theirself servers, that need to be restarted.

110
PHP / Re: GD Webp Support
« on: November 04, 2021, 12:48:37 AM »
This is my configuration (default from CWP):

==================================
Configure Command =>  './configure'  '--with-config-file-path=/usr/local/php' '--with-config-file-scan-dir=/usr/local/php/php.d' '--with-zlib=/usr' '--enable-mbstring' '--enable-zip' '--enable-bcmath' '--enable-pcntl' '--enable-ftp' '--enable-exif' '--enable-calendar' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-tidy' '--with-curl' '--with-iconv' '--with-gmp' '--with-pspell' '--with-gd' '--with-jpeg-dir=/usr' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-jis-conv' '--with-webp-dir=/usr' '--with-zlib-dir=/usr' '--with-xpm-dir=/usr' '--with-openssl' '--with-pdo-mysql=mysqlnd' '--with-gettext=/usr' '--with-bz2=/usr' '--with-recode=/usr' '--with-mysqli' '--enable-soap' '--enable-phar' '--with-xsl' '--with-xmlrpc' '--with-kerberos' '--enable-posix' '--enable-sockets' '--with-pcre-regex' '--with-libdir=lib64' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--enable-intl' '--with-icu-dir=/usr'
==================================
gd

GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.8.0
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 6b
PNG Support => enabled
libPNG Version => 1.5.13
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled
JIS-mapped Japanese Font Support => enabled
WebP Support => enabled
==================================

If you do no have the Webp enabled like above, will don't work.
Try to recompile your PHP version, with the option gd-webp enabled.

111
PHP / Re: User's PHP.INI Editor not working
« on: November 02, 2021, 04:40:06 AM »
Check if you default php.ini file is enable your user defined ini file.

For example, if you are using PHP-FPM, the file: /opt/alt/php-fpm74/usr/php/php.ini
Code: [Select]
(...)
;;;;;;;;;;;;;;;;;;;;
; php.ini Options  ;
;;;;;;;;;;;;;;;;;;;;
; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
;user_ini.filename = ".user.ini"
(...)

If disabled, enable it.

112
PHP / Re: GD Webp Support
« on: November 02, 2021, 04:28:20 AM »
Did you check the info.php file?
The default installation of PHP already have GD webp support.

Sorry for the aparent redundancy, but no nginx, and no Varnish?
Apache can still be used without varnish, without nginx, and without any other, apache only.
It's apache only?

If so, check your 'Vary' headers returned in your

113
Installation / Re: Upgrade mariadb 10.5
« on: November 02, 2021, 03:44:23 AM »
Your upgrade to version 10.5 was made from which version?

114
PHP / Re: GD Webp Support
« on: November 02, 2021, 03:36:33 AM »
Hi,

Looks like I'm having a problem similar to yours.
I'm waiting answer from customer, if the problem was solved.
Searching about in internet, seems the problem is due to use nginx as a proxy, in scheme: nginx <-> varnish <-> apache

Perhaps, are you using nginx & varnish & apache scheme.?

If so, the static pages are being served by nginx, to speed up loading pages, and not by apache.
So, you can try to exclude images extensions from you nginx configuration, to make apache serve it.

Depending on the template you are using, you can simply remove extensions from the location directive.

Regards,
Netino

115
Installation / Re: Upgrade mariadb 10.5
« on: November 01, 2021, 04:09:47 AM »
What you mean by "Remote button".?

Regards,
Netino

116
I added some template files ('.tpl' and '.stpl') to the nginx webserver, to the location:
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/

The files are available to edit in "WebServer Settings" | "WebServers Template Editor" (just to edit).

But they should be available too in "WebServer Settings" | "WebServers Main Conf" and "WebServer Settings" | "WebServers Domain Conf" to edit configuration, but the templates just created are not available there!
So, we cannot use it at all.
By documentation, they must to be available there.

I tested in two different servers, and the problem persist.
Someone else can confirm the bug.?

Regards,
Netino

117
PHP / Re: User's PHP.INI Editor not working
« on: November 01, 2021, 03:50:13 AM »
Where you is adding that file.?
The location is:
Code: [Select]
/home/USER/public_html/.user.ini
(Note the dot '.' at the beginning of that filename)

For example, if you have an USER named 'digdug', you will must have a file like:
Code: [Select]
-rw-r--r-- 1 digdug digdug 296 Nov  1 00:39 /home/digdug/public_html/.user.ini
with permission 644.
(the 'user' in '.user.ini' is just literal, not a user of your system)

118
How to / Re: How to disable postfix, clamav and bind server?
« on: October 31, 2021, 02:46:16 AM »
If you know they are "unneeded", why you already don't know to remove then?
Are you sure is really unneeded?
They are *vital* to most people here, for hosting services.

Code: [Select]
yum remove -y postfix
yum remove -y clamd clamav clamav-filesystem clamav-update clamav-lib clamav-data
yum remove -y bind bind-libs bind-libs-lite bind-export-libs bind-license bind-utils

Regards,
Netino

119
PHP / Re: User's PHP.INI Editor not working
« on: October 31, 2021, 02:36:36 AM »
Seems you have a permission problem with your ini file.
(Perhaps edited by root user?)

What are your user using? php-cgi, php-fpm.?

Regards,
Netino

120
Installation / Re: EMERGENCY HELP ME
« on: October 31, 2021, 02:30:32 AM »
I'm setting up the whole system, but I'm making mistakes on the rope. Please help me so I can publish my own server.
I want to be able to host a service for my domains with a static rope.

Yes, CWP is just for that.

Quote
I want to switch to the pro version of the panel

You must buy a license. Contact suppport at <>

Quote
I can't set up the static ip properly.

This needs to be configured before CWP. It must have been configured when your server was delivered. Contact your ISP for this.

Regards,
Netino

Pages: 1 ... 6 7 [8] 9 10 ... 25