Top Menu

Search results for "cpu phpinfo php ini cpu mem users tmp"

APC INFO Monitor

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

…sit” the configuration: use the APC monitor (apc.php) to see how many files are being cached, and how much memory (apc.shm_size) is needed to avoid fragmentation, which will cause the 500 errors. If fragmentation rises quickly to 100%, memory usage is full, and cache full count rises above 0, you will almost surely see “500″ errors. If WordPress is the only PHP script software package on the domain, the following configuration w… 2, 0, 0, 0 and 3606.37

Continue Reading 53

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

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

…change php.ini. Luckily, Virtualmin creates service scripts for each virtual domain, which you can use to reload PHP. The service 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… 1, 0, 0, 0 and 1971.83

Continue Reading 18
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… 4, 0, 1, 0 and 1595.63

Continue Reading 2

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

…assword you added to the config file, with no default permissions, on localhost Give pma user all permissions on phpmyadmin database, on localhost Now you have a secure PMA which will work for all mysql users on your host. Version 3.5+ now has Status Monitoring and Advisor. Used in conjunction with a performance tuning script like MySQL Tuning Primer, it will help you fine-tune your MySQL server to your requirements and your environment. phpMyA… 2, 0, 0, 0 and 830.24

Continue Reading 0

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

…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 Error To test 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 p… 5, 0, 0, 0 and 765.39

Continue Reading 7

Remote publishing to WordPress from Facebook via RSS

…ge Permissions Uncheck Only Admins can See Page Age Restrictions: None Country Restrictions: None Uncheck All: Users can write or post content on the wall Users can add photos Users can add tags to photos Users can add videos This will make your wall posts available to the general public, because users with restricted privacy settings cannot post to your wall (they can still comment on your posts). Now you can click the Subscribe by RSS link… 6, 0, 0, 0 and 726.46

Continue Reading 6

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