Contact Menu

Search results for "centos 6 where is apc ini"

APC INFO Monitor

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

…Cache, choose Enhanced Disk. Minify: do not choose APC for Minify, use Disk. Opcode Cache: choose APC for Opcode Cache Database Cache: choose APC for Opcode Cache For APC running on virtual servers for opcode caching: Remove apc.ini from /etc/php.d. Do not add the APC configuration into /etc/php.ini (main php.ini which is probably a template […]

Continue Reading 54

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

…djust to your requirements) [APC] extension = 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… 47, 1, 1, 0 and […]

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…s 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 host, and so […]

Continue Reading 4
Screen Shot 2012-09-07 at 11.09.50 AM

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

…on, etc. Plus, it’s out of date and vulnerable to an XSS exploit. I have solved this by changing to the EPEL repo, which maintains the latest version of phpMyAdmin. This post will teach you how to install phpMyAdmin on CentOS, Amazon Linux, or Redhat. Configuration instructions are provided for Apache and NginX web servers. […]

Continue Reading 0

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

Varnish VCL and Config for WordPress with W3 Total Cache

…VARNISH_THREAD_TIMEOUT} \ -u varnish -g varnish \ -S ${VARNISH_SECRET_FILE} \ -s ${VARNISH_STORAGE}” # Varnish VCL (/etc/varnish/wordpress-varnish3.vcl) backend origin { .host = “”; .port = “80”; .connect_timeout = 60s; .first_byte_timeout = 60s; .between_bytes_timeout = 60s; } # sub vcl_recv { # only using one backend set req.backend = origin; # # set standard proxied ip header […]

Continue Reading 23

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0