Top Menu

Search results for "centos after php install zero sized reply"

APC INFO Monitor

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

…the virtual server’s /home/domainname.com/etc/php5/php.ini, add the following configuration: (you may also install memcached, and should install fileinfo for full use of W3 Total Cache) [memcached] ;memcached for distributed servers – e.g. mysql server on separate host ;extension=memcache.so [fileinfo] ;fileinfo is included in PHP 5.3=>… uncomment the following line if using <=5.2 ;extension=fileinfo.so [APC] extension = apc.so ap… 2, 0, 0, 0 and 5407.64

Continue Reading 53

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

Continue Reading 0

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

…fc1867_freq = 0 apc.localcache = 1 apc.localcache.size = 256 apc.coredump_unmap = 0 apc.stat_ctime = 0 Reloading PHP-fastcgi processes after changes to php.ini You will need to reload the php-fastcgi processes if you 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,… 4, 0, 0, 0 and 1767.88

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

Auto Mailer Form with Validation and reCAPTCHA

…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 you have read this far, you should go ahead and download PFBC version 3 (with Bootstrap). You’ll want to install it on a dev server and read the documentation, which is on the example pages. Installation: put the downloaded folder in a public_html space that’s running PHP 5+. Note that there… 1, 0, 0, 0 and 779.96

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

Continue Reading 4

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…can Fail2Ban account for every change in log file location or structure from version to version. What worked for Centos 5.x may not work for CentOS 6.x; what worked in kernel 2.8 may be invalid in kernel 3.4. Also stated earlier, it is well worth the time to learn a little about RegEx. One vehicle to propel the admin far along the path is RegExr. Author Greg Skinner provides an online version as well as Adobe AIR standalone app. RegExr is an inva… 1, 0, 0, 0 and 467.97

Continue Reading 1

Résumé

Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net chrisgilligan.com I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail […]

Continue Reading

Apache config for Worker MPM vs Prefork MPM

Some installations of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP… 2, 0, 1, 0 and 337.98

Continue Reading 2