Contact Menu

Search results for "mod_fcgid-error-reading-data-from-fastcgi-server-centos-6"

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 57

Integrating Content from External Sources into OU Campus Using RSS, PHP, and JavaScript

…le the feed URL and number of items in his Server Side Scripting class: via PCF Page Parameters.) More Speed After you verify the final production page, you should set up cron jobs for any external feeds that are created via database calls on the external servers. A WordPress feed will require a bit of […]

Continue Reading 0

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

…ory. location ^~ /files/ { rewrite /files/(.+) /wordpress/wp-includes/ms-files.php?file=$1 last; } location @wordpress { fastcgi_pass localhost:9000; fastcgi_param SCRIPT_FILENAME $document_root/index.php; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_NAME /index.php; } location ~ \.php$ { try_files $uri @wordpress; fastcgi_index index.php; fastcgi_pass localhost:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;… 22, 0, 0, 0 and 1002.06

Continue Reading 20

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

…cover all applications. Firewall Unnecessary Traffic from Affecting the Server Before you begin performance tuning, please consider using a stateful packet inspection (SPI) firewall & login failure daemon (LFD) for your server: ConfigServer Firewall is an excellent free firewall & LFD. This will help prevent brute force probes, port flooding, DDOS, etc. If you have […]

Continue Reading 9 website

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

…server, PHP 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 […]

Continue Reading 4


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

Varnish VCL and Config for WordPress with W3 Total Cache

…altering hash so subdomains are ignored. # don’t do this if you actually run different sites on different subdomains if ( ) { hash_data( regsub(, “^([^\.]+\.)+([a-z]+)$”, “\1\2” ) ); } else { hash_data( server.ip ); } # ensure separate cache for mobile clients (WPTouch workaround) if( req.http.User-Agent ~ “(iPod|iPhone|incognito|webmate|dream|CUPCAKE|WebOS|blackberry9\d\d\d)” ){ hash_data(“touch”); } return […]

Continue Reading 24
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…s are adamant in their requests to use APC cache, you may wish to move them to a different server which can properly handle their needs. Virtualmin is a very good choice for this, as it allows individual accounts to be configured with individual php.ini and fcgiwrapper, or even different versions of PHP. Of course, […]

Continue Reading 4