Contact Menu

Search results for "opencart error could not make a database connection using"

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… 12, 0, 1, 0 and […]

Continue Reading 54

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

…/ WORKER THREADS Current thread_cache_size = 8 Current threads_cached = 7 Current threads_per_sec = 0 Historic threads_per_sec = 0 Your thread_cache_size is fine MAX CONNECTIONS Current max_connections = 151 Current threads_connected = 1 Historic max_used_connections = 10 The number of used connections is 6% of the configured maximum. You are using less than 10% of […]

Continue Reading 9

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

Varnish VCL and Config for WordPress with W3 Total Cache

…AX_THREADS=1000 # # # Idle timeout for worker threads VARNISH_THREAD_TIMEOUT=120 # # # Cache file location if using file cache #VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin # # # Cache size: in bytes, optionally using k / M / G / T suffix, # # or in percentage of available disk space using the % suffix. VARNISH_STORAGE_SIZE=3G # # # […]

Continue Reading 23

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
Screen Shot 2012-09-07 at 11.09.50 AM

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

…_param SCRIPT_FILENAME /usr/share$fastcgi_script_name; include /etc/nginx/fastcgi_params; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; } location ~* ^/phpMyAdmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /phpmyadmin { rewrite ^/* /phpMyAdmin last; } Edit /etc/phpMyAdmin/ The config below… 4, 0, 0, 0 and 267.4

Continue Reading 0


Chris Gilligan Web Developer, Information Architect, Web Server Administrator, Media Producer web • video • print 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 Front-end UI design, HTML, PHP, LESS Linux Apache […]

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