Contact Menu

Search results for "php script timeout vhost"

APC INFO Monitor

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

…fragmentation, which will cause the 500 errors. If fragmentation rises quickly to 100%, memory usage is full, and cache full count rises above 0, you will almost surely see “500” errors. If WordPress is the only PHP script software package on the domain, the following configuration will likely work for you; if you have more […]

Continue Reading 54

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

…ge number, because each will consume the amount of memory specified in apc.shm_size. You may need to experiment with this value, depending on your server’s memory and potential traffic. Virtualmin explains: “When PHP scripts for this domain as run via FCGId, the number of PHP processes set in this field will be kept running at […]

Continue Reading 18

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

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
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…onment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual host, and so to set an individual configuration for APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a lot […]

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

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

…64/epel-release-6-8.noarch.rpm On Amazon Linux, epel-release is already loaded. Edit /etc/yum.repos.d/epel.repo to enabled=1 Edit /etc/yum.repos.d/epel.repo to only include necessary software packages: includepkgs=phpMyAdmin php–php-gettext I have removed RPMforge repo due to some recent problems, but if you still need rpm forge repo: exclude=phpMyAdmin php–php-gettext Install PMA: yum install phpMyAdmin Apache Edit… 13, 0, 0, 0 and 869.04

Continue Reading 0

Varnish VCL and Config for WordPress with W3 Total Cache

…READS},${VARNISH_THREAD_TIMEOUT} \ -u varnish -g varnish \ -S ${VARNISH_SECRET_FILE} \ -s ${VARNISH_STORAGE}” # Varnish VCL (/etc/varnish/wordpress-varnish3.vcl) backend origin { .host = “”; .port = “80”; .connect_timeout = 60s; .first_byte_timeout = 60s; .between_bytes_timeout = 60s; } # sub vcl_recv { # only using one backend set req.backend = origin; # # set standard proxied ip header […]

Continue Reading 23

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

…ill serve the busiest queries directly from cache. Take Time to Get a Realistic Assessment of MySQL Performance If you have a PHP opcode and database caching strategy (such as APC) implemented on your web server and for your PHP script packages, you will be able to lower maxconnections, based on the information you receive […]

Continue Reading 9

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