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

Awstats for Apache

1. Environment Ubuntu Server 10.10 Awstats 6.95 2. Install Awstats 3. Apache Configuration Alias /awstats-classes “/usr/share/awstats/lib/” Alias /awstats-icon “/usr/share/awstats/icon/” Alias /awstats-css “/usr/share/doc/awstats/examples/css” ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ ScriptAlias /awstats/ /usr/lib/cgi-bin/ Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Include /etc/apache2/awstats.conf 4. Awstats Configuration SiteDomain = “192.168.0.129”

Posted in Project Management | Tagged , , | Leave a comment