Contact Menu

Search results for "restart apache virtual memory"

APC INFO Monitor

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

…ance tuning before you begin. If you are running your virtual servers under FCGId, then you should do so for all virtual servers on your machine. Why? Because then you do not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so in /etc/httpd/conf.d/php.conf Remove any php_memory_limit lines in […]

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

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

…s not support ConfigServer (e.g. Amazon AWS and some VPS may not play well with CSF), you may use Fail2Ban. Tune Apache the Sane Way (Requires Basic Math Skills) If you wish to tune your Apache MPM settings, you should consider following this method: https://telvps.com/clients/knowledgebase/25/HOW-TO-Optimize-Apache-for-Low-Memory-Usage.html (the formula works well as a basic guide… but does […]

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

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

…e scripts are located in /etc/rc.d/init.d. php-fcgi-domain1-com php-fcgi-domain2-com Script allows stop, start, restart e.g. service php-fcgi-domain2-com restart The service may also be restarted via Webmin > Services > Bootup and Shutdown Memory Considerations PHP FCGId will launch the number of sub-processes you specify in Virtualmin > Server Configuration > Website Options, so beware of the […]

Continue Reading 18
apache_web-hosting

Apache config for Worker MPM vs Prefork MPM

…e has Worker MPM compiled in: /usr/sbin/httpd.worker -l If you see worker.c in the list of compiled-in modules, Apache can run Worker MPM. Here is some useful info to help if your installation of Apache will work with Worker MPM: http://www.virtualmin.com/node/15046 http://articles.slicehost.com/2010/5/19/configuring-the-apache-mpm-on-centos Un-Comment HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd restart apache do some performance… 1, 0, 1, 0 and […]

Continue Reading 2
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has 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 […]

Continue Reading 4
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 […]

Continue Reading 4
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

I have been working on a Varnish front-end for Apache, to be used with WordPress sites. I described the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total […]

Continue Reading 23
wordpress-installation

Automated WordPress Installation Via Custom Virtualmin Script Installer

…ctions again and find link to new example file. WordPress (or any other script) can automatically install during Virtualmin > Create Virtual Server.  Virtualmin automatically creates users, MySQL database, and installs WordPress in the public_html root, then gives a link to the WordPress Installer. You can even create a custom installer with a set of […]

Continue Reading 40