Contact Menu

Search results for "script tuning apache"


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

…of MYISAM,INNODB,MEMORY etc.), as reported by mysqltuner. If you anticipate adding more virtual hosts, or clients adding more databases or tables, you will need to raise table_cache value. Follow the recommendations from the Apache tuning, and then follow the recommendations of the tuning scripts. The apache tuning will give you the number of maxclients, and […]

Continue Reading 9
APC INFO Monitor

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

…s/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options Indexes IncludesNOEXEC FollowSymLinks ExecCGI allow from all AllowOverride All AddHandler fcgid-script .php AddHandler fcgid-script .php5 FCGIWrapper /home/chris/fcgi-bin/php5.fcgi .php FCGIWrapper /home/chris/fcgi-bin/php5.fcgi .php5 allow from all… 16, 0, 1, 0 and 1119.72

Continue Reading 54

Automated WordPress Installation Via Custom Virtualmin Script Installer

…nt because the script requires proper id download example script (with all of the below already completed) edit to give a new name: script_wordpress_desc “Custom WordPress” replace ALL instances of script_wordpress with script_custompress (id to match filename) link to your zip: ‘url’ => “file://localhost/path/to/” (~line 150 after # script_wordpress_files) this must be retrievable via […]

Continue Reading 48
Screen Shot 2012-09-07 at 11.09.50 AM

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

…th your mysql root user credentials. https://yourhost.tld/phpmyadmin Create a mysql user, pma, with the password you added to the config file, with no default permissions, on localhost Give pma user all permissions on phpmyadmin database, on localhost Now you have a secure PMA which will work for all mysql users on your host. Version 3.5+ […]

Continue Reading 0

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

…FILENAME $document_root/index.php; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_NAME /index.php; } location ~ \.php$ { try_files $uri @wordpress; fastcgi_index index.php; fastcgi_pass localhost:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include /etc/nginx/fastcgi_params; } location ^~ /blogs.dir/ { internal; root /home/username/public_html/wordpress/wp-content; } Adding APC Support for a Virtual Domain… 12, 0, 0, 0 and 802.19

Continue Reading 18 website

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel

…ery cache based on performance and load testing. Configured Amazon CloudFront Content Distribution Network, page cache, browser cache, and object cache with the WordPress plugin, W3 Total Cache. Due to the sheer number of ad scripts being served per page, there were inevitable JavaScript and PHP conflicts, but W3TC is very flexible and was able […]

Continue Reading 4

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

APC Cache Considerations for Virtual Hosting Environments

…stered by myself, not by the clients. I do not think APC is the correct cache for most shared web hosting servers, given the number of virtual hosts. You will probably have better results if you remove APC and concentrate on Apache performance tuning and MySQL cache. If your clients are adamant in their requests […]

Continue Reading 4


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

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