Richard G
Verified User
Excuse me?you such garbage to me
Excuse me?you such garbage to me
sorry translation difficultiesExcuse me?
I use a translator from Russian to English. The words you weren't texting.Excuse me?
my business is selling domain names. we cpanel is considered expensive. Of course I want to snatch sales success.Ah oke I understand. I already wondered because garbage is like stuff you want to ged rid of, wasted goods, bad goods.
For applying changes to an ini (or sometimes after updating Drupal/CiviCRM), I change the PHP version back and forth in the user domain.Hello,
Whenever you need to restart PHP-FPM and/or web-server it can be done in DirectAdmin at admin level, and as root in a shell console. If you are a regular user of a shared hosting company you will need to contact your hosting company for this.
For applying changes to an ini (or sometimes after updating Drupal/CiviCRM), I change the PHP version back and forth in the user domain.
#!/bin/bash
# PHP-FPM is not restarted after an user import
# so here we restart it
restart_fpm()
{
echo "[$(date)] Restarting php-fpm${PHP_VER}";
/bin/systemctl restart "php-fpm${PHP_VER}";
ps aux | grep -v grep | grep "php-fpm: master process" | grep "${PHP_VER}";
}
for PHP_VER in $(grep ^php[1-4]_release= /usr/local/directadmin/custombuild/options.conf | grep -v =no | cut -d= -f2 | awk -F. '{print $1$2}')
do
{
restart_fpm;
}
done;