LOGROTATE là một tiện ích tuyệt vời trên Linux giúp đơn giản hóa việc quản lý log files trên hệ thống, bao gồm xoay vòng file log, di chuyển, nén, gửi tự động… Rotate (xoay vòng) ở đây có thể hiểu là tiến trình xử lý file log cũ theo quy định trước đó (xóa/nén/move) đồng..
Read moreRclone là một công cụ đồng bộ hóa dữ liệu tương tự Rsync nhưng lại được tập trung phát triển chức năng kết nối với các dịch vụ lưu trữ đám mây. Ưu điểm của việc sử dụng dịch vụ lưu trữ đám mây đó là tốc độ cao (do có server được đặt trên khắp thế..
Read moreW3 Total cache is a WordPress Performance Optimization framework that is designed to improve user experience and page speed. It is recommended by many web hosting providers, and used by countless major websites such as mashable.com as well as many others. W3TC improves the user experience of your site by increasing web server performance by reducing..
Read moreViệc tìm kiếm các website để kiểm tra tốc độ thật sự của website bạn không hề khó vì chỉ cần gõ vài từ là có đầy trên internet. Tuy nhiên vấn đề là có nhiều công cụ có thể đưa số liệu không đầy đủ và chính xác, hoặc có thể bạn hiểu lầm..
Read moreStep by Step Overview: Nginx port 80 Apache port 8080 Nginx and Apache share root directory (F:\xampp\htdocs) Nginx catch request as front-end and proxy dynamic content (PHP) to Apache which will be running in the back-end. Install WordPress, Joomla and Drupal for development on localhost and work perfectly. Setup on Windows XP.
Read moreMột trong những nhược điểm của Magento là tốc độ nếu cấu hình mặc định được sử dụng. Có nhiều cách nhất định làm cho nó chạy nhanh hơn. Với tôi thì tôi thết tốt nhất là để cho phép nén Gzip bằng cách thay đổi. Htaccess một chút. Bạn chỉ cần bỏ ghi chú..
Read more– Thay file style.css thành style.css.php. Mục đích là để chèn code php vào – Chèn đoạn code sau vào trên cùng của file vừa đổi tên <?php ob_start (“ob_gzhandler”); header(“Content-type: text/css; charset: UTF-8”); header(“Cache-Control: must-revalidate”); $offset = 60 * 60 ; $ExpStr = “Expires: ” . gmdate(“D, d M Y H:i:s”, time() + $offset)..
Read moreĐể bật gzip cho phần html của Thesis thì các bạn cần thêm đoạn code sau vào file custom-functions.php
Read more
WinNMP – Config
How to send emails using PHP WinNMP has 2 options for processing emails sent by PHP’s mail() function: mSmtp and mailToDisk (default). To change the option, edit confphp.ini and modify sendmail_path: For Development use mailToDisk (the default): sendmail_path = ‘”C:/WinNMP/bin/php” -n -f “C:/WinNMP/include/tools/mailtodisk.php”‘ Emails will be saved to logmail-XX.txt For Production use mSmtp: sendmail_path = ‘”C:/WinNMP/bin/msmtp/msmtp.exe” -C “C:/WinNMP/conf/msmtp.ini” -t’ You also need to edit confmsmtp.ini in order to configure SMTP server options How..
Read more