Top Menu

Search results for "apc php only a few files cached"

APC INFO Monitor

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

…veHandler .php5 IPCCommTimeout 12 </VirtualHost> You must “babysit” 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 on… 12, 0, 0, 0 and 11675.21

Continue Reading 53

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

…with this value, depending on your server’s memory and potential traffic. Virtualmin explains: “When PHP scripts for this domain as run via FCGId, the number of PHP processes set in this field will be kept running at all times to serve requests. You can increase this from the default of 4 to improve PHP script latency, or decrease it to reduce memory use. Setting it to None will cause PHP processes to be launched only as needed on dem… 1, 0, 0, 0 and 5643.01

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

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 serving static HTML files. This presents challenges in security as well as performance tuning. It is impossible to predict whether a certain configuration will work properly for a given server, unless the hardware, software, accounts, network and traffic are identical to a previou… 3, 0, 0, 0 and 1764.26

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

Continue Reading 2
SoccerNews.com website

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

…as a very active user base, providing content in the forms of editorials and comments on news items. Advertising and sponsored referrals provide the revenue stream. SoccerNews.com website I was contacted by the publisher after responding to a plea for assistance in a WordPress.org support forum. Though the site was running on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative… 6, 0, 0, 0 and 765.37

Continue Reading 2

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

…/pub/epel/6/x86_64/ rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm On Amazon Linux, epel-release is already loaded. Edit /etc/yum.repos.d/epel.repo to enabled=1 Edit /etc/yum.repos.d/epel.repo to only include necessary software packages: includepkgs=phpMyAdmin php-php-gettext I have removed RPMforge repo due to some recent problems, but if you still need rpm forge repo: exclude=phpMyAdmin php-php-gettex… 1, 0, 0, 0 and 622.68

Continue Reading 0

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

Recursive chmod Tricks

Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ‘*.php‘ -exec chmod 644 {} \;… 2, 0, 2, 0 and 557.81

Continue Reading 4

Varnish VCL and Config for WordPress with W3 Total Cache

…ged-out commenting. This configuration also works well with W3 Total Cache. This configuration is for Varnish on a separate server, 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… 2, 0, 0, 0 and 505.93

Continue Reading 23