Top Menu

Search results for "php fcgid best settings"

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

Continue Reading 53

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

…ache, minification, browser cache and page cache capabilities to WordPress… and it works with Nginx. Works best with Alternative PHP Cache to provide opcode and database cache. Setting APC for all caches works easiest with Nginx… setting to file caching introduces URL rewrite errors… See W3TC Settings information below for instructions on how to implement File caching. nginx Compatibility — makes WordPress more compatible… 3, 0, 0, 0 and 2075.6

Continue Reading 18

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

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

…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 not take into account PHP memory requirements… see Ovidiu’s comment below). MySQL Tuning Is More Difficult: Trial and Err… 3, 0, 0, 0 and 765.38

Continue Reading 7
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 shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 1, 0, 0, 0 and 713.49

Continue Reading 2

Auto Mailer Form with Validation and reCAPTCHA

I was recently searching for a form template that uses Twitter’s Bootstrap framework. PFBC, the PHP Form Builder Class, was recently refactored with Bootstrap, and it also supports validation and reCAPTCHA. PFBC does not include a form handler, but it does take the difficult and redundant work out of creating self-validating forms. Adding an auto-mailer to PFBC is very simple, however. You just need a simple PHP if/else and all is well. If… 11, 0, 0, 0 and 570.79

Continue Reading 2

Remote publishing to WordPress from Facebook via RSS

Most WordPress developers know you can use one of several plugins to publish from WordPress to a Facebook wall, app or fan page. Did you know you can also do the opposite? You can publish from Facebook to WordPress by using the FeedWordPress plugin and the RSS feed from your fan page. This can be handy for clients who want to keep their site updated with blog posts, or share links and information, but don’t necessarily want to spend the ti… 4, 0, 0, 0 and 518.9

Continue Reading 6

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… 10, 0, 0, 0 and 518.9

Continue Reading 0
SoccerNews.com website

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

…ted server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP Cache and W3 Total Cache, but these measures turned out to be incompatible with some of the custom PHP code and the software architecture of the Cpanel server. Haphazardly implementing randomly suggested “solutions” had actually made the problems worse, resulting in an “own goal” that brought down the server… 1, 0, 0, 0 and 415.12

Continue Reading 2

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