OpenResty/Lua 70+ Advanced Programming Skills and Optimization tips

All impression of high skills on OpenResty/Lua programming along these 3 years.   OpenResty/Lua 70+ Advanced Programming Skills and Optimization tips from Ho Kim   Cheers~  

Posted in Coding Standards, Lua, Nginx, Optimization, Training | Tagged , , , , , , | Leave a comment

OpenResty/Lua Practical Experience

Lua/OpenResty, 20+ times faster than PHP(fpm), we endorse it and have this summary finally.   OpenResty/Lua Practical Experience from Ho Kim   Cheers~  

Posted in 56com, Architecture, Linux, Lua, Nginx, Optimization, Training | Tagged , , , , | Leave a comment

Example of nginx.conf

Download example of nginx config file : nginx.conf

Posted in Nginx | Tagged , , , | Leave a comment

Nginx and PHP for Windows

1. Environment Window XP Nginx 0.8.50 PHP 5.2.14 2. Download Nginx Unzip to D:\nginx-0.8.50 3. Download PHP Unzip to D:\nginx-0.8.50\php-5.2.14 4. Create D:\nginx-0.8.50\php-5.2.14\php.ini cgi.fix_pathinfo = 1 extension_dir = “D:/nginx-0.8.50/php-5.2.14/ext” 5. start-php-cgi.bat : set PHP_FCGI_MAX_REQUESTS=1000 D:/nginx-0.8.50/php-5.2.14/php-cgi.exe -b 127.0.0.1:9000 -c D:/nginx-0.8.50/php-5.2.14/php.ini 6. start-nginx.bat D:/nginx-0.8.50/nginx.exe 7. stop-all.bat: taskkill /F /IM nginx.exe > nul taskkill /F /IM php-cgi.exe > […]

Posted in Nginx | Tagged , , | 1 Comment

Nginx and PHP-FPM for Ubuntu

1. Install and Start Nginx (a) use apt-get (b) compile from source 2. PHP Repository and Install php5-fpm (deprecated from php5.3.3) 3. Config Nginx 4. Start PHP-FPM

Posted in Nginx, PHP, Ubuntu | Tagged , , | Leave a comment