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.
106
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:
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.
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.
107
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
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
108
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
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
109
Installation / Re: I need your help regarding the secondary directory of the website!
« on: November 13, 2021, 08:50:03 PM »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
110
Nginx / Re: Nginx service start error during boot on Rocky Linux
« on: November 13, 2021, 08:38:42 PM »
What error? (the error message)
111
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:
Mine is correct, automatically, for 'America/Sao_Paulo', with theses packages.
Regards,
Netino
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
112
SSL / Re: SSL for PHP default to send mail via SSL from contact forms from wordpress sites
« on: November 13, 2021, 08:31:49 PM »
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
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
113
CentOS-WebPanel Bugs / Re: Bug in Template Files in "WebServers Main Conf" and "WebServers Domain Conf"
« on: November 11, 2021, 10:09:05 PM »
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
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
114
Installation / Re: I need your help regarding the secondary directory of the website!
« on: November 11, 2021, 08:57:28 PM »
What webserver(s) are you using.?
115
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
116
CentOS-WebPanel Bugs / Re: Bug in Template Files in "WebServers Main Conf" and "WebServers Domain Conf"
« on: November 05, 2021, 02:13:07 AM »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.
117
CentOS-WebPanel Bugs / Re: Bug in Template Files in "WebServers Main Conf" and "WebServers Domain Conf"
« on: November 04, 2021, 10:09:48 PM »
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)
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)
118
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:
In using PHP-FPM, they have theirself servers, that need to be restarted.
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.
119
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.
==================================
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.
120
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
If disabled, enable it.
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.