PHP’s Zend Opcache Config In your php.ini or /etc/phpversion…/fpm/conf.d/05-opcache.ini opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=50000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1
Read moreWhy install PHP + FastCGI? Mod-PHP comes installed with XAMPP, and it is slow. You also cannot utilise the Zend opcode cache, which is included with PHP itself since PHP 5.5. Steps to install PHP + FastCGI
Read moreNginx bản thân nó đã là một web server có hiệu suất hoạt động rất tốt. Tuy nhiên vẫn có nhiều cách để tối ưu thêm và một trong số đó là sử dụng module được phát triển bởi Google có tên PageSpeed (ngx_pagespeed) ngx_pagespeed tăng tốc website của bạn và giảm thời gian load đáng kể bằng..
Read moreSử dụng APC hoặc APCu từ lâu đã là một phương pháp opcode cache được sử dụng rộng rãi để tối ưu hoạt động của VPS. Tuy nhiên APC không được cập nhật, nâng cấp thường xuyên (phiên bản stable mới nhất 3.1.9 ra ngày 2011-05-14) và thỉnh thoảng vẫn xuất hiện một số lỗi..
Read moreHiện tại có rất nhiều hướng dẫn cấu hình để có thể tạo được VPS chịu tải lớn trên mạng thông qua load balancing, optimize các services… Hôm nay, mình sẽ hướng dẫn các bạn một cách khác sử dụng kết hợp Zend Opcache, Memcache để có thể xây dựng được VPS có thể chịu..
Read moreĐôi lời về Openshift: OpenShift is Red Hat’s Cloud Computing Platform as a Service (PaaS) offering. OpenShift is an application platform in the cloud where application developers and teams can build, test, deploy, and run their applications. OpenShift takes care of all the infrastructure, middleware, and management and allows the developer to focus on what..
Read moreThứ nhất PHP có một kiến trúc độc nhất vô nhị , dựa trên triết lý “share nothing” mỗi luồng chạy php được webserver và ZendEngine thực hiện độc lập , giải phóng tài nguyên hoàn toàn sau khi kết thúc tác vụ .Điều này giúp cho PHP tuy và ngôn ngữ động và thông dịch..
Read moreNguon: http://bloghoctap.com/lap-trinh-php/chuan-bi-gi-de-thi-chung-chi-zend-php5-zce.html Trước tiên, có lẽ các bạn cần biết mình nên chuẩn bị những kiến thức gì để tập trung nghiên cứu cho cuộc thi. Mặc dù khối lượng kiến thức của PHP khá nhiều, nhưng cuộc thi chỉ tập trung vào một số mảng sau:
Read moreI/Cài IonCube Loader : 1. Download IonCube Loader tại: http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_win_x86_ipf.zip 2. Chạy setup và chọn next 3. Chọn Install to this computer 4. Chọn nơi cài đặt là %plesk_dir%\Additional\PleskPHP5\extras thay vì cài trong program files 5. Chọn next và Install 6. Mở file php.ini của PHP 4.x và 5.x để thêm đường dẫn đến IonCube..
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