Contact Menu

Search results for "how to optimize apache2 mod_fcgid"

APC INFO Monitor

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

…defaults(‘USE_AUTHENTICATION’,0); You can monitor errors with these commands: tail -f -n 50 /var/log/httpd/error_log tail -f -n 50 /home/ In the logs, you should see messages like the following: mod_fcgid: process /home/username/public_html/scriptname.php(21272) exit(lifetime expired), terminated by calling exit(), return code: 0 … exit(server exited) … … exit(idle timeout) … if the cache is working well. If… […]

Continue Reading 54

SSL and CloudFront CDN Support for WebFonts via .htaccess

…g JavaScript clients basic access to your resources. I recommend you only allow access to the specific CDN domains you require. Do this with a comma separated list, in double quotes. # BEGIN CDN Cross-Site for Webfonts AddType font/ttf .ttf AddType font/eot .eot AddType font/opentype .otf AddType font/x-woff .woff Header… 3, 0, 0, 0 and […]

Continue Reading 2

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

…th CSF), you may use Fail2Ban. Tune Apache the Sane Way (Requires Basic Math Skills) If you wish to tune your Apache MPM settings, you should consider following this method: (the formula works well as a basic guide… but does not take into account PHP memory requirements… see Ovidiu’s comment below). MySQL Tuning Is […]

Continue Reading 9

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
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…o set php.ini and fcgiwrapper for every individual virtual host, and so to set an individual configuration for APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a lot of memory, and you will need somewhere in […]

Continue Reading 4 website

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

…HP and MySQL to better utilize the server’s horsepower. Cpanel’s efault Apache and MySQL configurations 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 […]

Continue Reading 4

Varnish VCL and Config for WordPress with W3 Total Cache

I have been working on a Varnish front-end for Apache, to be used with WordPress sites. I described the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total […]

Continue Reading 23