…owSymLinks Includes IncludesNOEXEC -Indexes MultiViews SymLinksIfOwnerMatch RemoveHandler .php RemoveHandler .php5 IPCCommTimeout 12 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 […]
Search results for "php-apc-configure"
…g APC Support for a Virtual Domain Because Virtualmin’s implementation of Nginx uses php-fastcgi, each virtual domain will load its own php.ini file, so you can add the APC directives to that file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = […]
…bar stream social wall page with YouTube videos Facebook, Twitter and Instagram require PHP API script for connection to signed apps. jquery.imagesloaded is helpful for the wall display Code Samples (A compilation zip including all code mentioned in the presentation is available. Comment and subscribe to this post to be notified of updates.) WordPress plugin […]
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 […]
…+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a lot of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt to configure a single APC cache for the entire server. My web hosting server is for […]
…des most of the different types of inputs, all you need do is create a file in the same folder as the package’s main index.php. I’ve heavily commented the code, so you should be able to easily understand it.
…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-gettext Install PMA: yum install phpMyAdmin Apache Edit… 10, 0, 0, 0 and 455.46
…very high traffic. With World Cup Brazil coming up in 2014, the site will definitely see a huge amount of users. Future plans include changing the architecture of the server to simplify the background processes and implement APC Alternative PHP Cache, or a caching web server front end. Results? I’ll let the publisher speak to […]
…8 M Depending on how much space your innodb indexes take up it may be safe to increase this value to up to 2 / 3 of total system memory MEMORY USAGE Max Memory Ever Allocated : 345 M Configured Max Per-thread Buffers : 962 M Configured Max Global Buffers : 282 M Configured Max […]
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):
^%(__prefix_line)sAuthentication failure for .* from <HOST>$
Apache nohome regex (error_log):
[client <HOST>] File does not exist: .*/~.*