…t = 3200 innodb_buffer_pool_size = 26M join_buffer_size = 4M tmp_table_size = 72M max_heap_table_size = 72M max_connections = 80 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid This is for example only! table_cache should be set a little higher than the total number of tables (sum of MYISAM,INNODB,MEMORY etc.), as reported by mysqltuner. If you anticipate adding more virtual hosts, or […]
Search results for "fatal error call to undefined function mysql_connect"
…a production server, SSL should be ON and auth_type http is better; http auth uses MySQL user/pass combinations to restrict access to user-specific databases.
…ress posts. It is somewhat complex to set up properly, so I won’t go into that here. It’s up to you to figure it out, but it is very useful for adding non-copyright or permitted content to your site or a client’s site. For instance, I use it to publish bicycle manufacturer’s RSS feeds to […]
…. APC is somewhat challenging to configure properly with fcgid-enabled virtual domains, but it is quite helpful to optimize system resources and prevent traffic surges on one site from affecting overall server performance. Joomla and PHPbb have code that is pre-optimized with hooks for APC, but WordPress requires a plugin called W3 Total Cache. First […]
…ver. I did an assessment of the software, hardware and traffic load and found that there were many improvements to be made. Among the changes: Implemented a Stateful Packet Inspection firewall and Login Failure Daemonto block malicious IP addresses, malware servers, bad bots, content scrapers, etc. Many of the problems leading to site crashes were […]
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 […]
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: .*/~.*
Chris Gilligan Web Developer, Information Architect, Web Server Administrator, Media Producer web • video • print email@example.com 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 Front-end UI design, HTML, PHP, LESS Linux Apache […]
…orms that can seriously improve the reach of your website content. Content Management Systems can be configured to automatically send new content to Facebook and Twitter via RSS feeds, with linkback to your website, which improves traffic. WordPress Sites $500 per site Install Facebook Connect and Twitter Connect plugins Optionally, add Facebook feed and fans, […]