Top Menu

Search results for "apache conf php ini apc shm_size"

APC INFO Monitor

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

APC INFO Monitor My Virtualmin CentOS 5.6 Virtual Private Server runs several virtual domains with PHP under FCGId using APC for opcode caching: Joomla, PHPbb, WordPress, etc . APC is somewhat challenging to configure properly with fcgid-enabled virtual domains, but it is quite helpful to optimize system resources and prevent traffic surges on one site from affecting overall server performance. Joomla and PHPbb have code that is pre-optimized w… 11, 0, 0, 0 and 18875

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… 4, 0, 0, 0 and 9625.6

Continue Reading 18

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

…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, based on the information you receive from mysqltuner after 24-48 hours of steady traffic. For example, I have a server with Apache set to 256 maxclients, but the MySQL maxconn… 34, 0, 3, 0 and 5033.36

Continue Reading 7
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…ared web hosting servers, given the number of virtual hosts. You will probably have better results if you remove APC and concentrate on Apache performance tuning and MySQL cache. If your clients are adamant in their requests to use APC cache, you may wish to move them to a different server which can properly handle their needs. Virtualmin is a very good choice for this, as it allows individual accounts to be configured with individual php.ini and… 1, 0, 0, 0 and 3230.16

Continue Reading 2

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading

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

…erable 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. For this to work properly and safely, you should be running SSL on your host. Otherwise, change the ForceSSL line in the config file provided below… Install p… 3, 0, 0, 0 and 2127.48

Continue Reading 0

Varnish VCL and Config for WordPress with W3 Total Cache

…r, but should also work on a single server with appropriate changes to the port and backend IP settings. Varnish Config (/etc/sysconfig/varnish) # Configuration file for varnish # # /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 s… 6, 0, 0, 0 and 1297.26

Continue Reading 23
SoccerNews.com website

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

…c from the Internet’s millions of malicious and compromised servers and personal computers. Reconfigured Apache web server, PHP and MySQL to better utilize the server’s horsepower. Cpanel’s efault Apache and MySQL configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and recompiled Apache to better handle the needs of a high traffic WordPress site. Co… 2, 0, 1, 0 and 1245.35

Continue Reading 2

Apache config for Worker MPM vs Prefork MPM

…9/configuring-the-apache-mpm-on-centos Un-Comment HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd restart apache do some performance testing and raise your worker server and thread limits to sane levels in httpd.conf If you need to recompile Apache and PHP, then you should do more research. Recompiling is not a trivial process. I found that my server had much better memory usage under Worker MPM, however: some scripts (squirrelmail, php… 2, 0, 1, 0 and 1076.71

Continue Reading 4

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):

Apache nohome regex (error_log):

[…]

Continue Reading 0