Search results for "virtual memory apache enable"

APC INFO Monitor

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

…u may wish to run Apache with Worker MPM instead of Prefork MPM. More information about Apache Worker MPM vs. Prefork MPM » Installation Suggestions and Modification of Defaults Be sure to install the newest version of APC, 3.1.9 as of the last revision of this post (I assume you know how to install and configure all the packages mentioned in this post): pecl install apc Choose “no” for internal debugging,  but choose “yesR… 2, 0, 0, 0 and 3298.29

Continue Reading Comments { 54 }

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

…your MySQL server performance, you may try: mysqltuner: https://github.com/rackerhacker/MySQLTuner-perl (or http://mysqltuner.pl for the script only) MySQL Tuning Primer: https://launchpad.net/mysql-tuning-primer phpMyAdmin 3.5+: Status Monitor and Advisor are excellent tools, but require proper phpMyAdmin setup These scripts will analyze MySQL performance and make suggestions regarding your my.cnf configuration. mysqltuner is now deprecated,… 2, 0, 0, 0 and 2880.02

Continue Reading Comments { 3 }

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

…at 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 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… 1, 0, 0, 0 and 1481.83

Continue Reading Comments { 18 }

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… 9, 1, 3, 0 and 1481.82

Continue Reading Comments { 4 }
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…almin 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 to set an individual configuration for APC per virtual 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… 2, 0, 0, 0 and 1087.48

Continue Reading Comments { 2 }
SoccerNews.com website

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

there were inevitable JavaScript and PHP conflicts, but W3TC is very flexible and was able to handle the task. Suggested a scheduled, offsite backup strategy that would utilize existing resources, and eliminate the need for a 3rd-party backup solution that was causing more load issues and costing $45.00 per month. Now the site is stable and fast, and is ready for very high traffic. With World Cup Brazil coming up in 2014, the site will definitel… 3, 1, 2, 0 and 657.26

Continue Reading Comments { 2 }

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

phpMyAdmin database display I recently ran into a problem with the upgraded 3.5.2 phpMyAdmin package provided via the rpmforge.repo. Search no longer works, nor does pagination, 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 ins… 7, 1, 0, 0 and 430.2

Continue Reading Comments { 0 }

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…distribution. Neither can Fail2Ban account for every change in log file location or structure from version to version. What worked for Centos 5.x may not work for CentOS 6.x; what worked in kernel 2.8 may be invalid in kernel 3.4. Also stated earlier, it is well worth the time to learn a little about RegEx. One vehicle to propel the admin far along the path is RegExr. Author Greg Skinner provides an online version as well as Adobe AIR standalone… 1, 0, 0, 0 and 191.2

Continue Reading Comments { 0 }

Automated WordPress Installation Via Custom Virtualmin Script Installer

…ngs > Default Script Installers Custom WordPress If you want to have the script archive download from a protected web directory, that is also possible: ‘url’ => “http://repo.server.com/file-ver.zip”, ‘nocache’ => 1, ‘user’ => “username”, ‘pass’ => “password” Incoming search terms for the article: virtualmin wordpress script installer virtualmin wordpress virtualmin script installers wordpress installer script virtualmin script… 3, 0, 0, 0 and 143.4

Continue Reading Comments { 22 }

Varnish VCL and Config for WordPress with W3 Total Cache

…ouch”); } return (hash); } Incoming search terms for the article: w3 total cache varnish varnish wordpress vcl varnish wordpress varnish backend subdomain wordpress varnish vcl varnish video cache server configuration varnish 3 0 wordpress vcl w3tc varnish varnish wordpress multisite w3 total cache varnish cache… 1, 0, 0, 0 and 143.4

Continue Reading Comments { 17 }