Contact Menu

Search results for "mod_fcgid read data timeout drupal"

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

Varnish VCL and Config for WordPress with W3 Total Cache

…_FILE=/etc/varnish/secret # # # The minimum number of worker threads to start VARNISH_MIN_THREADS=1 # # # The Maximum number of worker threads to start VARNISH_MAX_THREADS=1000 # # # Idle timeout for worker threads VARNISH_THREAD_TIMEOUT=120 # # # Cache file location if using file cache #VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin # # # Cache size: in bytes, optionally using k […]

Continue Reading 23

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

…- Performance Metrics ————————————————- [–] Up for: 13d 2h 34m 16s (1M q [1.561 qps], 67K conn, TX: 81B, RX: 449M) [–] Reads / Writes: 91% / 9% [–] Total buffers: 298.0M global + 6.4M per thread (151 max threads) [OK] Maximum possible memory usage: 1.2G (61% of installed RAM) [OK] Slow queries: 0% (0/1M) […]

Continue Reading 9
Screen Shot 2013-01-16 at 4.19.03 PM

Auto Mailer Form with Validation and reCAPTCHA

…header.php”); $version = file_get_contents(“version”); // has the form been submitted and passed validation? // If so, send email and display a confirmation message. if(Form::isValid($_POST[“form”])) { /*The form’s submitted data has been validated. Your script can now proceed with any further processing required.*/ //get the POST data from the form $Course = $_POST[‘Course’]; $Semester = $_POST[‘Semester’]; […]

Continue Reading 2

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


Chris Gilligan Web Developer, Information Architect, Web Server Administrator, Media Producer web • video • print I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Front-end UI design, HTML, PHP, LESS Linux Apache […]

Continue Reading

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