Search results for "work vs prefork"

Apache config for Worker MPM vs Prefork MPM

Some installations of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP… 7, 1, 2, 0 and 1195.76

Continue Reading Comments { 4 }
APC INFO Monitor

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

…ault = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M apc.stat = 1 apc.write_lock = 1 apc.report_autofilter = 0 apc.include_once_override = 0 apc.rfc1867 = 0 apc.rfc1867_prefix = “upload_” apc.rfc1867_name = “APC_UPLOAD_PROGRESS” apc…. 2, 0, 0, 0 and 286.98

Continue Reading Comments { 54 }

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

Varnish VCL and Config for WordPress with W3 Total Cache

…t beresp.http.Set-Cookie; } # # don’t cache response to posted requests or those with basic auth if ( req.request == “POST” || req.http.Authorization ) { return (hit_for_pass); } # # only cache status ok if ( beresp.status != 200 ) { return (hit_for_pass); } # # don’t cache search results if( req.url ~ “\?s=” ){ return (hit_for_pass); } # # else ok to cache the response set beresp.ttl = 24h; return (deliver); } # sub vcl_deliver { # add debugging… 3, 0, 0, 0 and 143.48

Continue Reading Comments { 17 }

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

…at file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense… 3, 0, 0, 0 and 143.48

Continue Reading Comments { 18 }

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

…nsidered # dangerous unless properly secured by SSL Alias /phpMyAdmin /usr/share/phpMyAdmin Alias /phpmyadmin /usr/share/phpMyAdmin <Directory /usr/share/phpMyAdmin/> <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> Require ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow # comment out All… 2, 0, 0, 0 and 95.66

Continue Reading Comments { 0 }

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

…, is going to work for every distribution. Neither can Fail2Ban account for every change in log file location or structure from version to version. What worked for Centos 5.x may not work for CentOS 6.x; what worked in kernel 2.8 may be invalid in kernel 3.4. Also stated earlier, it is well worth the time to learn a little about RegEx. One vehicle to propel the admin far along the path is RegExr. Author Greg Skinner provides an online version as… 2, 0, 0, 0 and 95.66

Continue Reading Comments { 0 }

Content Management – Search Engine Optimization – Servers – Hosting – Chris Gilligan

Chris Gilligan provides web server and search engine optimization (SEO) services WordPress development high performance hosting site and server performance tuning 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.  I’ve been building websites and since the early days of [...]

Continue Reading

About

I’ve been building websites and since the early days of the world wide web. I know where it came from, and where it’s going. I can handle any level of website from a single page to a fully secure online business system. My clients include mid-size corporations, manufacturers, non-profit organizations, developers and independent businesses in [...]

Continue Reading Comments { 0 }

Auto Mailer Form with Validation and reCAPTCHA

…d for feedback messages to user $form->addElement(new Element\Hidden(“form”, “CourseNeed”)); // Form fields // simple textbox, required $form->addElement(new Element\Textbox(“Course:”, “Course”, array( “required” => 1, “shortDesc” => “Department and course number of class you need”, //”placeholder” => “MATH 101″ ))); // simple select, required $form->addElement(new Element\Select(“Semester:”, “Semester”, array( // first array… 1, 0, 0, 0 and 47.83

Continue Reading Comments { 1 }