Contact Menu

Search results for "mod_fcgid max"


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

…d_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 max_connections = 80 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/my… 21, […]

Continue Reading 9
APC INFO Monitor

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

…but WordPress requires a plugin called W3 Total Cache. First Things First Please read my posts about APC on commodity virtual hosting servers and Apache and MySQL performance tuning before you begin. If you are running your virtual servers under FCGId, then you should do so for all virtual servers on your machine. Why? Because […]

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

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

…mon to block offending IP addresses with multiple failed HTTP logins. ConfigServer Firewall works well, and has modules for cPanel and Webmin. OSSEC is another reactive IPTables firewall with Apache login failure IP blacklisting. For Amazon EC2, a good practice is to create a discrete database server, and only allow access to it inside a […]

Continue Reading 0

SSL and CloudFront CDN Support for WebFonts via .htaccess

…ty issue. Evidently this is a security measure to prevent cross-site attacks, but you can allow this via Apache mod_headers, to allow your specific CloudFront (or other) domain, specified in the .htaccess file. Some sites have suggested using “*” wildcards to allow all domains… but obviously this is a security issue: with this Header, you […]

Continue Reading 2

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

…ferring apache virtual server backups. Best to start fresh and build from scratch. Testing the Virtualmin Nginx Modules Virtualmin does not support Nginx and Apache together, and there is no easy migration from Apache to Nginx, so it is suggested to begin with a fresh install of Virtualmin with no existing accounts. If you would […]

Continue Reading 18

Varnish VCL and Config for WordPress with W3 Total Cache

…sh # # /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this # shell script fragment. # # # Maximum number of open files (for ulimit -n) NFILES=131072 # # Locked shared memory (for ulimit -l) # Default log size is 82MB + header MEMLOCK=82000 # # Maximum size of corefile (for ulimit -c). […]

Continue Reading 23

Search Engine Optimization

SEO Consulting $85 per hour. Includes research for page titles, text headings and content keywords to optimize a website for a targeted market. Joomla Sites $350 per site. Includes sh404sef component for automated mod_rewrite URL rewriting, title and keyword rewriting. Includes xMap sitemap generator and setup of optimized sitemaps. Automated Yahoo, MSN and Google Sitemap […]

Continue Reading 1 website

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel

…ns were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and recompiled Apache to better handle the needs of a high traffic WordPress site. Configured a large MySQL table and query cache based on performance and load testing. Configured Amazon CloudFront Content Distribution Network, page […]

Continue Reading 4
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running 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 […]

Continue Reading 4