LuckyBX Русский
Server

Services and server

Services#

luckybx service
luckybx service restart php

Service names: nginx, apache, php, db, redis, cache, push, search, sphinx, mail, cron. If there are several PHP versions, one can be given: php8.4.

Name, time, reboot#

luckybx server
luckybx server hostname srv1.example.com
luckybx server timezone Europe/Berlin
luckybx server reboot
luckybx server shutdown

The time zone changes at once in the system, PHP and the database. Bitrix compares them with each other, so they should not be changed separately.

A server that is shut down can only be turned on from the hosting provider's panel.

File access over SFTP#

All site files belong to the bitrix user. Give it a password or a key:

luckybx server bitrix-password
luckybx server bitrix-key "ssh-ed25519 AAAA..."

The bitrix user sees the files of all sites on the server.