Top Menu

Search results for "disable apc access"

APC INFO Monitor

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

…an 10% most of the time… if fragmentation rises quickly, you should add a few more MB’s of memory to apc.shm_size and restart apache). Monitoring APC Performance and Detecting Errors You should run apc.php in a password-protected directory in the domain’s public_html. Edit the apc.php code to allow passwordless access. defaults(‘USE_AUTHENTICATION’,0); You can monitor errors with these commands: tail -f -n 50 /var/log/httpd/erro… 2, 0, 0, 0 and 5303.67

Continue Reading 53

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

Virtualmin now includes support for Nginx web server. I deploy many WordPress sites with W3 Total Cache and APC Alternative PHP Cache, so I was very interested to see how Nginx performance compares to Apache for WordPress, and whether APC and W3TC would play nice with Nginx. I prefer to install WordPress in public_html/wordpress for ease of development, compatibility with other scripts, etc. Accordingly, the suggested configuration is for WordPr… 42, 1, 1, 0 and 2326.85

Continue Reading 18
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 shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 11, 1, 1, 0 and 714.95

Continue Reading 4

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

…with max_connections set slightly higher than Apache’s maxclients. If you are running database caching via APC, you may lower max_connections, because APC will serve the busiest queries directly from cache. Take Time to Get a Realistic Assessment of MySQL Performance If you have a PHP opcode and database caching strategy (such as APC) implemented on your web server and for your PHP script packages, you will be able to lower maxconnections,… 3, 0, 0, 0 and 363.98

Continue Reading 7

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

…failure IP blacklisting. For Amazon EC2, a good practice is to create a discrete database server, and only allow access to it inside a VPC security group, or from specific IP addresses enabled in that security group. That way, you can safely Allow from ALL hosts, because the VPC firewall will prevent other access. Install phpMyAdmin on a separate web server, and restrict access to PMA’s directory (see below). # phpMyAdmin – Web based MyS… 6, 0, 0, 0 and 311.98

Continue Reading 0

SSL and CloudFront CDN Support for WebFonts via .htaccess

…mains… but obviously this is a security issue: with this Header, you are granting 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 <IfModule mod_mime.c> AddType font/ttf .ttf AddType font/eot .eot AddType font/opentype .otf AddType font/x… 3, 0, 0, 0 and 155.99

Continue Reading 0

Résumé

Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net chrisgilligan.com 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 Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail […]

Continue Reading
SoccerNews.com website

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

SoccerNews.com is a high traffic WordPress site with over 600,000 unique visitors and over 2,000,000 page impressions per month. It is a content republisher and aggregator, presenting custom XML feeds for (what else?) soccer news from all over the world. The site has a very active user base, providing content in the forms of editorials and comments on news items. Advertising and sponsored referrals provide the revenue stream. SoccerNews.com web… 2, 0, 1, 0 and 142.99

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 Cache. This configuration is for Varnish on a separate server, but should also work on a single serve… 0, 0, 3, 0 and 116.99

Continue Reading 23