Contact Menu

Search results for "disable-apc-for-certain-url"

APC INFO Monitor

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

…shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 512 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M… 93, 1, 4, […]

Continue Reading 56
virtualmin-nginx-wordpress-permalinks-apc

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

…php-fastcgi, each virtual domain will load its own php.ini file, so you can add the APC directives to that file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 […]

Continue Reading 20
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…irtual 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 the neighborhood of 10-30GB apc.shm_size if you attempt to configure a single APC cache for the entire server. My web […]

Continue Reading 4

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

…to display $feed = “http://blog.utc.edu/news/headlines.xml/”; if(!isset($maxitems)) $maxitems = 3; $file = file_get_contents($feed); $file = str_ireplace(‘src=”http://’, ‘src=”//’, $file); $file = str_ireplace(‘media:content url=”http://’, ‘media:content url=”//’, $file); $file = str_ireplace(‘media:thumbnail url=”http://’, ‘media:thumbnail url=”//’, $file); $sxml = simplexml_load_string($file); $i = 0; foreach ($sxml->channel->item as… 9, 0, 0, 0 and 899.86

Continue Reading 0
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…some headers we never want to see unset beresp.http.Server; unset beresp.http.X-Powered-By; # # only allow cookies to be set if we’re in admin area – i.e. commenters stay logged out if( beresp.http.Set-Cookie && req.url !~ “^/wp-(login|admin)” ){ unset beresp.http.Set-Cookie; } # # don’t cache response to posted requests or those with basic auth if ( […]

Continue Reading 24
LAMP-linux-apache-mysql-php

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

…of maxclients, and from this you will know the appropriate beginning value for [mysqld] max_connections. Begin 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 […]

Continue Reading 9
SoccerNews.com website

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

…he publisher after responding to a plea for assistance in a WordPress.org support forum. Though the site was running on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP Cache and W3 Total Cache, but these measures turned out to be incompatible with some of […]

Continue Reading 4
logo-mailman

Cpanel Mailman mailing lists: cannot manage lists after migrating to new host

…– Admin Links No such list listname_domainname.com There currently are no publicly-advertised Mailman mailing lists on cpanel1.hosting.com.To visit the administrators configuration page for an unadvertised list, open a URL similar to this one, but with a ‘/’ and the right list name appended. If you have the proper authority, you can also create a new […]

Continue Reading 2