alrnetwork
Verified User
Wasn't aware the upgrade was released. Easy enough to upgrade? If so, I'll hit upgrade and off we go.Sorry I have been absent. I wasn't sure if you would want do anything with the upgrade coming out last night.
Wasn't aware the upgrade was released. Easy enough to upgrade? If so, I'll hit upgrade and off we go.Sorry I have been absent. I wasn't sure if you would want do anything with the upgrade coming out last night.
You might wait..If so, I'll hit upgrade and off we go.
Yeah just hold out a bit.Then wait I shall, if something were to go wrong, I wouldn't be able to solve it right now, as I'll be on limited availability for the next week.
cd /usr/local/directadmin/data/templates/custom
nano php-fpm.conf
|?PHP_VER=54|
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp/:/var/tmp/:/opt/alt/php`PHP1_RELEASE`/usr/share/pear/:/dev/urandom:/usr/local/php`PHP_VER`/lib/:`ACTIVE_USR_LOCAL_PHP_LIB`:/usr/local/lib/php/|
|?EMAIL=`USER`@`DOMAIN`|
|CUSTOM1|
[|USER|]
user = $pool
group = $pool
listen = /usr/local/php|PHP_VER|/sockets/$pool.sock
listen.owner = $pool
listen.group = |SERVER_GROUP|
listen.mode = 660
pm = dynamic
pm.max_children = 30
pm.start_servers = 5
pm.min_spare_servers = 2
pm.max_spare_servers = 5
pm.max_requests = 100
php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f |EMAIL|
|*if PHP_SESSION_SAVE_PATH!=""|
php_admin_value[session.save_path] = |PHP_SESSION_SAVE_PATH|
|*endif|
|*if OPEN_BASEDIR="ON"|
php_admin_value[open_basedir] = |OPEN_BASEDIR_PATH|
|*endif|
|*if PHP_MAIL_LOG_ENABLED="1"|
php_admin_value[mail.log] = |PHP_MAIL_LOG_DIR|/php-mail.log
|*endif|
|*if LIMIT_EXTENSIONS!=""|
security.limit_extensions = |LIMIT_EXTENSIONS|
|*endif|
|CUSTOM2|
./build rewrite_confs
systemctl status php-fpm74
./build rewrite_confs
systemctl status php-fpm74
cd /usr/local/directadmin/custombuild
./build rewrite_confs
root@srv1:~# systemctl status php-fpm74
● php-fpm74.service - The PHP FastCGI Process Manager
Loaded: loaded (/etc/systemd/system/php-fpm74.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-06-11 21:50:15 EEST; 5min ago
Process: 2981 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 736 (php-fpm74)
Status: "Processes active: 0, idle: 15, Requests: 235, slow: 0, Traffic: 0.8req/sec"
Tasks: 16 (limit: 19109)
Memory: 1.6G
CGroup: /system.slice/php-fpm74.service
├─ 736 php-fpm: master process (/usr/local/php74/etc/php-fpm.conf)
├─4199 php-fpm: pool alrnetwork
├─4209 php-fpm: pool alrnetwork
├─4220 php-fpm: pool alrnetwork
├─4221 php-fpm: pool alrnetwork
├─4222 php-fpm: pool alrnetwork
├─4223 php-fpm: pool alrnetwork
├─4225 php-fpm: pool burnspla
├─4228 php-fpm: pool burnspla
├─4235 php-fpm: pool burnspla
├─4236 php-fpm: pool burnspla
├─4238 php-fpm: pool burnspla
├─4245 php-fpm: pool termopan
├─4250 php-fpm: pool termopan
├─4258 php-fpm: pool tablawro
└─4260 php-fpm: pool tablawro
Jun 11 21:50:15 srv1.alr-network.co.uk systemd[1]: Starting The PHP FastCGI Process Manager...
Jun 11 21:50:15 srv1.alr-network.co.uk systemd[1]: Started The PHP FastCGI Process Manager.
Jun 11 21:51:01 srv1.alr-network.co.uk systemd[1]: Reloading The PHP FastCGI Process Manager.
Jun 11 21:51:01 srv1.alr-network.co.uk systemd[1]: Reloaded The PHP FastCGI Process Manager.
I was testing you... I think you are learning..cd /usr/local/directadmin/custombuild
root@kvm1:~# speedtest
Speedtest by Ookla
Server: KamaTera INC - New Jersey, NJ (id = 11612)
ISP: tzulo
Latency: 17.97 ms (0.05 ms jitter)
Download: 879.74 Mbps (data used: 986.8 MB)
Upload: 897.95 Mbps (data used: 976.9 MB)
Packet Loss: Not available.
Result URL: https://www.speedtest.net/result/c/5f7ee191-0b8b-4ad1-ab7d-d5c7890d99fa
this ^^^If you have issues just delete the file and reissue
also check if php restartedCode:./build rewrite_confs
Code:systemctl status php-fpm74
for sure it is we just have to find the sweet spot.it's a simple configuration issue
It was this.was the intention to basically rewrite the configuration, without the custom file?