Top 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

…installation options, including the Experimental options. For W3 Total Cache (WordPress plugin): Page Cache: do not choose APC for the W3TC’s Page Cache, choose Enhanced Disk. Minify: do not choose APC for Minify, use Disk. Opcode Cache: choose APC for Opcode Cache Database Cache: choose APC for Opcode Cache For APC running on virtual servers for opcode caching: Remove apc.ini from /etc/php.d. Do not add the APC configuration into /etc/… 4, 0, 0, 0 and 1115.63

Continue Reading 53

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

…urrent 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 your configured max_connections. Lowering max_connections could help to avoid an over-allocation of memory See “MEMORY USAGE” section to make sure you are not over-allocating INNODB STATUS Current InnoDB index space = 0 bytes Current InnoDB data space = 0 byte… 4, 0, 0, 0 and 1037.8

Continue Reading 7

Remote publishing to WordPress from Facebook via RSS

…ck All: Users can write or post content on the wall Users can add photos Users can add tags to photos Users can add videos This will make your wall posts available to the general public, because users with restricted privacy settings cannot post to your wall (they can still comment on your posts). Now you can click the Subscribe by RSS link on your page, and the RSS feed will not display the dreaded “Facebook Syndication Error”: Yo… 3, 0, 0, 0 and 674.57

Continue Reading 6

Varnish VCL and Config for WordPress with W3 Total Cache

…ize of corefile (for ulimit -c). Default in Fedora is 0 # DAEMON_COREFILE_LIMIT=”unlimited” # # Set this to 1 to make init script reload try to switch vcl without restart. # To make this work, you need to set the following variables # explicit: VARNISH_VCL_CONF, VARNISH_ADMIN_LISTEN_ADDRESS, # VARNISH_ADMIN_LISTEN_PORT, VARNISH_SECRET_FILE RELOAD_VCL=1 # ## Advanced configuration # # # Main configuration file. VARNISH_VCL_CONF=/etc/varnish/wordpr… 4, 0, 0, 0 and 518.9

Continue Reading 23

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

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… 2, 0, 0, 0 and 259.45

Continue Reading 2

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

…roups AWS provides several levels of firewall protection for EC2 instances; I mainly utilize EC2 security groups and VPC security groups. These firewalls serve to allow traffic to an instance based on IP address, IP block, port, etc. VPC will gateway traffic to and within a virtual cloud; one can create a security group for a cohort of replicated database servers to only allow traffic from within the virtual cloud. Likewise, one could create a cl… 2, 0, 0, 0 and 259.45

Continue Reading 0

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

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

…tal Cache — adds opcode cache, minification, browser cache and page cache capabilities to WordPress… and it works with Nginx. Works best with Alternative PHP Cache to provide opcode and database cache. Setting APC for all caches works easiest with Nginx… setting to file caching introduces URL rewrite errors… See W3TC Settings information below for instructions on how to implement File caching. nginx Compatibility — m… 2, 0, 0, 0 and 259.45

Continue Reading 18

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