Contact Menu

Search results for "virtualmin-nginx-timeout"

virtualmin-nginx-wordpress-permalinks-apc

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…on {…} directives in the nginx.conf created in your public_html root by W3TC, and add them after the location {…} directives described above. You can do this either by copying the directives and pasting into /etc/nginx/nginx.conf, or (better) by using an include statement: […] location ^~ /blogs.dir/ { internal; root /home/username/public_html/wordpress/wp-content; } include /home/username/public_html/nginx.conf; […] […]

Continue Reading 20
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…READS},${VARNISH_THREAD_TIMEOUT} \ -u varnish -g varnish \ -S ${VARNISH_SECRET_FILE} \ -s ${VARNISH_STORAGE}” # Varnish VCL (/etc/varnish/wordpress-varnish3.vcl) backend origin { .host = “10.11.12.13”; .port = “80”; .connect_timeout = 60s; .first_byte_timeout = 60s; .between_bytes_timeout = 60s; } # sub vcl_recv { # only using one backend set req.backend = origin; # # set standard proxied ip header […]

Continue Reading 24
Screen Shot 2012-09-07 at 11.09.50 AM

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…tories from # filtering SQL etc. This may break your mod_security implementation. # # # # SecRuleInheritance Off # # NginX Edit nginx.conf for the hostname’s server_name website location /phpMyAdmin { root /usr/share/; index index.php; location ~ ^/phpMyAdmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; fastcgi_pass… 4, 1, 1, 0 and 307.45

Continue Reading 0

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading
APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…/chris/cgi-bin> allow from all SuexecUserGroup “#987” “#756” Options ExecCGI FollowSymLinks Includes IncludesNOEXEC -Indexes MultiViews SymLinksIfOwnerMatch RemoveHandler .php RemoveHandler .php5 IPCCommTimeout 12 You must “babysit” the configuration: use the APC monitor (apc.php) to see how many files are being cached, and how much memory (apc.shm_size) is needed to avoid fragmentation,… 2, 0, 1, 0 and 125.26

Continue Reading 57
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…ng as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and […]

Continue Reading 4
LAMP-linux-apache-mysql-php

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…M thread_cache_size = 8 myisam_sort_buffer_size = 64M read_rnd_buffer_size = 8M read_buffer_size = 2M sort_buffer_size = 2M table_cache = 1600 table_definition_cache = 1600 max_allowed_packet = 4M key_buffer = 1G interactive_timeout = 2 wait_timeout = 5 long_query_time = 1 log_slow_queries = ON open_files_limit = 3200 innodb_buffer_pool_size = 26M join_buffer_size = 4M tmp_table_size = 72M max_heap_table_size = 72M […]

Continue Reading 9
TEDxChattanooga website screenshot

TEDx Event Website

…d for TEDxToronto. I made a few tweaks and improvements to better fit our event, and worked with April Cox from UT Chattanooga to dial in the design and architecture. Developed on an Amazon EC2+Ubuntu+Webmin server running a Nginx+MySQL+PHP-FPM stack, the site should handle plenty of traffic, and can be scaled up to meet spikes […]

Continue Reading 0