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.
346
PHP / Re: Kinda the same problem with Imagek, but with PHP Sodium on AlmaLinux 9
« on: September 07, 2024, 02:30:03 PM »
The instructions to compile sodium are the similar to imagic:
Make sure "extension=sodium.so" presents in appropriate .ini file.
P.S. if pecl.php.net is inaccessible for some reason, you can download php libsodium from Github:
Code: [Select]
dnf install libsodium-devel
cd /usr/local/src/
wget https://pecl.php.net/get/libsodium-2.0.23.tgz
tar -xvzf libsodium-2.0.23.tgz
cd libsodium-2.0.23
/opt/alt/phpXX/usr/bin/phpize
./configure --with-php-config=/opt/alt/phpXX/usr/bin/php-config
make
make install
Make sure "extension=sodium.so" presents in appropriate .ini file.
P.S. if pecl.php.net is inaccessible for some reason, you can download php libsodium from Github:
Code: [Select]
wget -O libsodium-2.0.23,zip https://github.com/jedisct1/libsodium-php/archive/refs/heads/master.zip
347
Postfix / Re: error when clicking on "manage mail queue" option
« on: September 07, 2024, 12:14:08 PM »348
Postfix / Re: error when clicking on "manage mail queue" option
« on: September 07, 2024, 10:27:13 AM »
Try to do following:
1. Open file:
/usr/local/cwp/phpXX/etc/cwpsrv.conf
(replace phpXX with the php version used by your CWP)
2. Add the line:
3. kill php-fpm processes:
4.Then check the mail queue manager again.
Undo the changes and then perform the steps 2-3 to leave the default values.
1. Open file:
/usr/local/cwp/phpXX/etc/cwpsrv.conf
(replace phpXX with the php version used by your CWP)
2. Add the line:
Code: [Select]
php_admin_value[max_execution_time] = 3000
3. kill php-fpm processes:
Code: [Select]
killall php-fpm
to restart PHP-FPM and apply the new value of max_execution_time (not sure how to restart php-fpm in other way).4.Then check the mail queue manager again.
Undo the changes and then perform the steps 2-3 to leave the default values.
349
PHP / Re: Kinda the same problem with Imagek, but with PHP Sodium on AlmaLinux 9
« on: September 07, 2024, 09:19:29 AM »
Hi,
In my opinion you need to compile both extensions from sources and not using packages (RPM).
In my opinion you need to compile both extensions from sources and not using packages (RPM).
350
Updates / Re: How to update Imagick?
« on: September 06, 2024, 07:08:27 PM »
Then try to recompile imagick manually. Follow the steps listed bellow:
Make sure to replace "phpXX" with path to the correct php version.
Code: [Select]
cd /usr/local/src/
wget https://pecl.php.net/get/imagick-3.7.0.tgz
tar -xvzf imagick-3.7.0.tgz
cd imagick*
/opt/alt/phpXX/usr/bin/phpize
./configure --with-php-config=/opt/alt/phpXX/usr/bin/php-config
make
make install
Make sure to replace "phpXX" with path to the correct php version.
351
DNS / Re: Cannot access CWP after IP Change
« on: September 03, 2024, 06:58:11 PM »
Change the IP in the file:
/usr/local/cwp/.conf/settings.conf
restart CWP and then run:
/scripts/cwp_api webservers rebuild_all
/scripts/cwp_api account rebuild_etc_named_conf
/scripts/cwp_api account rebuild_var_named_all
to rebuild vHost and DNS zone files.
/usr/local/cwp/.conf/settings.conf
restart CWP and then run:
/scripts/cwp_api webservers rebuild_all
/scripts/cwp_api account rebuild_etc_named_conf
/scripts/cwp_api account rebuild_var_named_all
to rebuild vHost and DNS zone files.
352
DNS / Re: DNS Issue?
« on: September 03, 2024, 05:48:17 PM »
1. Check WHOIS of your domain. Make sure the domain name uses the correct nameservers.
2. dig each nameserver (dig @nameserver.com domain.com) to make sure each nameserver responds and provides correct information about the domain.
3. Make sure your website isn't infected by some virus because the redirection can be causes by a virus.
2. dig each nameserver (dig @nameserver.com domain.com) to make sure each nameserver responds and provides correct information about the domain.
3. Make sure your website isn't infected by some virus because the redirection can be causes by a virus.
353
How to / Re: User panel login link
« on: September 03, 2024, 01:18:17 PM »
Use the API function autologin:
Url: https://xxx.xxx.xxx.xxx:2304/v1/user_session
Method: POST
key: Key authorized by Api administrator
action: list
user: Account username (If not specified, a list of accounts will be displayed)
timer: Expiration time of the session, expressed in Minute, example 2
module: Indicate the name of the module to be redirected
debug: (0 / 1) Debug display file: /var/log/cwp/cwp_api.log
Url: https://xxx.xxx.xxx.xxx:2304/v1/user_session
Method: POST
key: Key authorized by Api administrator
action: list
user: Account username (If not specified, a list of accounts will be displayed)
timer: Expiration time of the session, expressed in Minute, example 2
module: Indicate the name of the module to be redirected
debug: (0 / 1) Debug display file: /var/log/cwp/cwp_api.log
354
PHP Selector / Re: disabling pdo_mysql for a user and enabling nd_pdo_mysql on PHP 8.3.4
« on: September 03, 2024, 12:56:40 PM »
CWP loads the extension globally. So if you want to disable it then you need to disable it:
and then enable for all users (add "extension=pdo_mysql.so") except the specific user in their local php.ini.
Code: [Select]
;extension=pdo_mysql.so
in the global php.ini file. See:Code: [Select]
/opt/alt/php81/usr/php/php.d
/opt/alt/php81/usr/php/php.ini
and then enable for all users (add "extension=pdo_mysql.so") except the specific user in their local php.ini.
355
Updates / Re: How to update Imagick?
« on: September 03, 2024, 10:12:42 AM »
Try to update ImageMagick using:
(for centos-8, almalinux-8/9, rockylinux-8/9)
In case you use older OS (Centos-6/7, etc) then most likely you need to recompile ImageMagick manually.
(for centos-8, almalinux-8/9, rockylinux-8/9)
Code: [Select]
dnf update ImageMagick
In case you use older OS (Centos-6/7, etc) then most likely you need to recompile ImageMagick manually.
356
Updates / Re: Update for openSSL is important!
« on: September 03, 2024, 10:07:58 AM »
Apache must be recompiled against the updated openSSL version in order to update mod_ssl.
357
CentOS 7 Problems / Re: Email forwarding to Gmail is not working
« on: September 03, 2024, 10:00:02 AM »
Roundcube isn't MTA (Mail Transfer Agent). It doesn't do anything to transfer emails between servers. When you use Roundcube to manage emails it connects to Dovecot to retrieve emails stored in the mailbox and to Postfix (MTA) to send emails.
CWP logs all mail events (authentication, sending, receiving, forwarding) into mail logs. Therefore if you want to to investigate why gmail doesn't accept forwarded emails from your server then review the mail logs (/var/log/maillog) to investigate the problem.
CWP logs all mail events (authentication, sending, receiving, forwarding) into mail logs. Therefore if you want to to investigate why gmail doesn't accept forwarded emails from your server then review the mail logs (/var/log/maillog) to investigate the problem.
358
Updates / Re: How to upgrade the OS
« on: June 30, 2023, 03:55:23 PM »
As I know there is no way to convert Centos 7 to Almalinux/RockyLinux 8/9. It means you need to do following:
1. Install new server/VPS with Almalinux/RockyLinux 8/9;
2. Install CWP on the new server;
3. Configure all services and extra applications according to your requirements (requirements of your websites);
4. Use CWP migration options to transfer accounts
The old and new boxes will use different IPs. So yes, your clients will have to update the IP in their DNS to point the domain names to the new server (actual IP address)
I recommend you to use Almalinux 8. It seems Alma 8 is more compatible with CWP then RockyLinux 8/9, Almalinux 9.
1. Install new server/VPS with Almalinux/RockyLinux 8/9;
2. Install CWP on the new server;
3. Configure all services and extra applications according to your requirements (requirements of your websites);
4. Use CWP migration options to transfer accounts
The old and new boxes will use different IPs. So yes, your clients will have to update the IP in their DNS to point the domain names to the new server (actual IP address)
I recommend you to use Almalinux 8. It seems Alma 8 is more compatible with CWP then RockyLinux 8/9, Almalinux 9.
359
Installation / Re: Hostname / Main Server Account & Domain
« on: June 22, 2023, 06:41:08 AM »
1. Are you able to access the admin area over the URL like https://hostname.com:2031/ ?
2. Do you get the IP address of your server when you ping the hostname of the server/vps ?
3. Did you enable all options "SSL for ..." under CWP --> Server Settings --> Change Hostname ?
2. Do you get the IP address of your server when you ping the hostname of the server/vps ?
3. Did you enable all options "SSL for ..." under CWP --> Server Settings --> Change Hostname ?
360
CentOS 8 Problems / Re: ngnix php-frm stops loading webpages randomly
« on: June 21, 2023, 08:57:45 AM »
Hard to say anything because you haven't provided any log records/errors associated with the problem.
Did you check the php-fpm and apache logs to investigate the problem ? Are you sure the problem isn't caused by firewall ?
Did you check the php-fpm and apache logs to investigate the problem ? Are you sure the problem isn't caused by firewall ?