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 ... 9 10 [11] 12 13 ... 29
151
Updates / Re: yum nginx update failed
« on: November 20, 2021, 07:39:27 PM »
The problem probably you have two repositories for nginx binaries (possibly CentOS and nginx repositories).

I had the exact same problem, and was needed to remove and downgrade the nginx version to a working version:
Code: [Select]
# yum remove nginx
# yum install nginx-1.20.1-1.el7.ngx
May be needed remove other nginx packages too.

A *serious* problem:
Be careful and make sure you have the configuration file backed up ('/etc/nginx/nginx.conf'), because it will erase that file.
You will need to restore this file from backup, to keep the new downgraded binary nginx working.

Regards,
Netino

152
CentOS 7 Problems / Re: nGINX ONLY ssl_error_rx_record_too_long
« on: November 20, 2021, 07:30:31 PM »
You can compile nginx from sources based in the current nginx binary, with command:
Code: [Select]
# nginx -V ("V" is uppercase)

From there, you can compile a new binary with exact same parameters, or even with new modules.

The problem would be know what binary version are you using, if upgraded and changed, or not.
If you know what binary version is correct, chack that command.

153
CentOS 7 Problems / Re: nGINX ONLY ssl_error_rx_record_too_long
« on: November 19, 2021, 01:54:55 AM »
The problem seems is with SSL, not with IPv6.
It happens to me, but was updated a nginx version (1.20.2 from nginx repository) that deleted the configuration file '/etc/nginx/nginx.conf', and was needed to restore it from backup.

Check your configuration.

Regards,
Netino

154
SSL / Re: Wiped AutoSSL hostname cert and files, reinstalled, same issue
« on: November 17, 2021, 11:06:23 PM »
In "WebServer Settings", "SSL Certificates", in the tab "List Installed" you must see the domains installed in your server.
So, click "Renew" to renew the certificates, or "Admin Services" to install SSL Certificates to default subdomains.

Did I understand your question correctly?

Regards,
Netino

155
centos7  apache+nginx

Is nginx -> apache, right?

Check with the command
Code: [Select]
# grep -i DirectoryIndex /usr/local/apache/conf/httpd.conf

...if you have the following result:
Code: [Select]
# DirectoryIndex: sets the file that Apache will serve if a directory
DirectoryIndex index.php index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html

Changing the directive 'DirectoryIndex' in the apache server, changes your entry point in your server.
Change it to point justo to index.php
Code: [Select]
DirectoryIndex index.php
Regards,
Netino

156
Nginx / Re: Nginx service start error during boot on Rocky Linux
« on: November 13, 2021, 08:38:42 PM »
What error? (the error message)

157
PHP / Re: I'm having a problem with UTC php time
« on: November 13, 2021, 08:36:47 PM »
Seems you did not update or not installed the tzdata.
Check it:

Code: [Select]
# rpm -q tzdata tzdata-java
tzdata-2021e-1.el7.noarch
tzdata-java-2021e-1.el7.noarch

Mine is correct, automatically, for 'America/Sao_Paulo', with theses packages.

Regards,
Netino

158
Depends on how are you sending mails.
If you sending via "mail" Wordpress php function, the connection need send via SMTP TLS connection.

Check this adress:

<https://www.saotn.org/send-authenticated-smtp-email-over-tls-wordpress/>


Regards,
Netino

159
It's not a bug!
Problem solved!
Thanks to Sandeep in its forum, I was able to discover that it is necessary to create, for each .stpl file, its corresponding .tpl (or vice versa), with its exact same name.

It would be good to include the information of this need in the screen of the WebServers Main/Domain Conf.

Regards,
Netino

160
What webserver(s) are you using.?

161
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

162
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.

163
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)

164
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.

165
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.

Pages: 1 ... 9 10 [11] 12 13 ... 29