Contact Menu

Search results for "opencart error is not displaying"

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): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0
APC INFO Monitor

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

…a password-protected directory in the domain’s public_html. Edit the apc.php code to allow passwordless access. defaults(‘USE_AUTHENTICATION’,0); You can monitor errors with these commands: tail -f -n 50 /var/log/httpd/error_log tail -f -n 50 /home/ In the logs, you should see messages like the following: mod_fcgid: process /home/username/public_html/scriptname.php(21272) exit(lifetime expired), terminated by… 4, 0, 0, 0 and […]

Continue Reading 54

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

…mize-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: (or for the script only) MySQL Tuning Primer:… 2, 0, 0, 0 and […]

Continue Reading 9
Screen Shot 2013-01-16 at 4.19.03 PM

Auto Mailer Form with Validation and reCAPTCHA

…form loaded for the first time, or does input need to be entered or corrected? // if so, display the form. Validation prompts are displayed by the form itself. else { header(“Location: ” . $_SERVER[“PHP_SELF”]); /*Validation errors have been found. We now need to redirect back to the script where the form exists so the […]

Continue Reading 2