Disable LiteSpeed cache
By Phạm Đình Hậu | CentOS , Ubuntu
Open .htaccess
<IfModule LiteSpeed>
CacheDisable public /
CacheDisable private /
</IfModule>
By Phạm Đình Hậu | CentOS , Ubuntu
Open .htaccess
<IfModule LiteSpeed>
CacheDisable public /
CacheDisable private /
</IfModule>
By Phạm Đình Hậu | CentOS
Trên centos 6:
Restart: service nginx restart
Stop : service nginx stop
Start: service nginx start
Trên centos 7:
Restart: systemctl restart nginx.service
Stop: systemctl stop nginx.service
Start: systemctl start nginx.service
Trên centos 6:
Restart: service php-fpm restart
Stop : service php-fpm stop
Start: service php-fpm start
Trên centos 7:
Restart: systemctl restart php-fpm.service
Stop: systemctl stop php-fpm.service
Start: systemctl start php-fpm.service
Trên centos 6:
Restart: service mysql restart
Stop : service mysql stop
Start: service mysql start
Trên centos 7:
Restart: systemctl restart mariadb.service
Stop: systemctl stop mariadb.service
Start: systemctl start mariadb.service
Nguồn: hostingaz.vn
By Phạm Đình Hậu | CentOS
Find file php.ini:
/usr/local/lsws/lsphp5/lib
Add or Edit:
date.timezone = “Asia/Ho_Chi_Minh”
Restart httpd
OK
By Phạm Đình Hậu | CentOS
Vào console dùng lệnh sau:
#ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime
Kiểm tra xem đã ok:
#date
Done