rs). Instead, enable APC on a per-domain basis by modifying the respective /home/domainname.com/etc/php5/php.ini — your httpd.conf or virtual.conf should look something like this for each virtual domain. <VirtualHost 99.88.177.288:80> ServerName chrisgilligan.com ServerAlias www.chrisgilligan.com DocumentRoot /home/chris/public_html ErrorLog /var/log/serversoftware/chrisgilligan.com_error_log CustomLog /var/log/serversoftware/chrisgil… 4, 0, 0, 0 and 908.51
Search results for "the memcached extension must be loaded for using this backend"

Varnish VCL and Config for WordPress with W3 Total Cache
…etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this # shell script fragment. # # # Maximum number of open files (for ulimit -n) NFILES=131072 # # Locked shared memory (for ulimit -l) # Default log size is 82MB + header MEMLOCK=82000 # # Maximum size of corefile (for ulimit -c). Default in Fedora is 0 # DAEMON_COREFILE_LIMIT=”unlimited” # # Set this to 1 to make init script reload try to switch vcl without restart. # To make t… 6, 0, 0, 0 and 765.03

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
…djust 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 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_… 2, 0, 0, 0 and 239.07

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
…run mysqltuner again. Example mysqltuner results: ——- 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) [OK] Highest usage of available connections: 6% (10/… 4, 0, 0, 0 and 191.26

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
erver to your requirements and your environment. phpMyAdmin MySQL server dashboard Incoming search terms for the article: phpmyadmin require ip nginx phpmyadmin centos install and open phpmyadmin using ipaddress nginx centos 6 nginx secure phpmyadmin nginx ssl phpmyadmin ssl phpmyadmin phpmyadmin ssl phpmyadmin ssl centos phpmyadmin with ssl ssl conf client denied by server configuration: /usr/share/phpMyAdmin/… 1, 0, 0, 0 and 143.45

Apache config for Worker MPM vs Prefork MPM
Some installations of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP… 1, 0, 0, 0 and 143.45

Remote publishing to WordPress from Facebook via RSS
…deo. But be sure to add a tagline to “Say something about this…” This line becomes your Title in the RSS feed or WordPress post. Otherwise you will see a generic “Your Client’s Facebook Wall 07/12/2011 15:35:43″ as the title. And on the client’s site, you will see this: You may want to set up a WordPress Category for these posts. FeedWordPress can be configured to post to a specific Category, add Tags, etc. Y… 3, 0, 0, 0 and 143.44

Recursive chmod Tricks
Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ’*.php’ -exec chmod 644 {} \; Incoming search terms for the article: chmod recursive chmod recursive dir… 1, 0, 0, 0 and 47.82

SSL and CloudFront CDN Support for WebFonts via .htaccess
I recently upgraded my WordPress theme to WooThemes Canvas 5.x, and I found that some of the icons were not rendering, but were showing a letter or integer instead. I dug into the code and found that these icons are now delivered via @font-face webfonts. Meanwhile, I’m working on a client’s e-commerce site with Google WebFonts and a custom webfont to display the Rupee symbol (Indian currency). Though the fonts were uploading properly… 1, 0, 0, 0 and 47.81
-
How to Configure APC Cache on Virtual Servers with PHP running under FCGId
November 8, 2010
-
Automated WordPress Installation Via Custom Virtualmin Script Installer
May 17, 2012
-
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
March 12, 2012
-
Varnish VCL and Config for WordPress with W3 Total Cache
August 14, 2012
-
Remote publishing to WordPress from Facebook via RSS
July 25, 2011
- WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux April 27, 2013
-
Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013
April 19, 2013
-
Auto Mailer Form with Validation and reCAPTCHA
January 16, 2013
-
Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
September 24, 2012
-
SSL and CloudFront CDN Support for WebFonts via .htaccess
September 5, 2012
-
Chris Gilligan: What version of PHP are you running. This example ...
-
manny: Hi Chris, Thank you for sharing the script, it ...
- Prestashop et APC en multiboutiques | Webiche : Blog de Michel Tomas: [...] Configure APC sur Apache avec mod-fcgid [......
-
Chris Gilligan: leonardo: Thanks for your kind words! I do not ...
-
leonardo: hey !! I am very happy I am publishing from facebo...
a little bird told me…
Follow @gilligoon on Twitter

