cgi-bin> allow from all </Directory> SuexecUserGroup “#987″ “#756″ Options ExecCGI FollowSymLinks Includes IncludesNOEXEC -Indexes MultiViews SymLinksIfOwnerMatch RemoveHandler .php RemoveHandler .php5 IPCCommTimeout 12 </VirtualHost> You must “babysit” the configuration: use the APC monitor (apc.php) to see how many files are being cached, and how much memory (apc.shm_size) is needed to avoid fragmentation, which will… 4, 0, 0, 0 and 6014.4
Search results for "linux apache is running a threaded mpm but your php module is not compiled to be threadsafe you need to recompile php"
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… 1, 0, 0, 0 and 3694.84
…file, so you can add the APC directives to that 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/… 4, 0, 0, 0 and 3252.3
y 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 Allow from All and add your own static IPs here f… 1, 0, 0, 0 and 2235.96
…rm 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 is the options “”,// blank value to force a choice “Fall”, “Spring”, “Summer I”, “Summer II”,… 8, 0, 0, 0 and 1865.29
…w Queries result % will be somewhat high if MySQL has run for less than 24 hours. Example MySQL Tuning Primer results: SLOW QUERIES The slow query log is NOT enabled. Current long_query_time = 10.000000 sec. You have 0 out of 1768137 that take longer than 10.000000 sec. to complete Your long_query_time seems to be fine BINARY UPDATE LOG The binary update log is NOT enabled. You will not be able to do point in time recovery See http://dev.mysql.c… 1, 0, 0, 0 and 1626.16
…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 of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt to configure a single APC cache for the entire server. My web hosting server is for a small number of personal clients, so I adjust the APC settings for each individual account, depending… 1, 0, 0, 0 and 1398.97
referrals provide the revenue stream. SoccerNews.com website I was contacted by the publisher after responding to a plea for assistance in a WordPress.org support forum. Though the site was running on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP Cache and W3 Total Cache, but these measures turned out to be incompatible with some of the custom PHP code and the softwar… 1, 0, 0, 0 and 1243.53
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 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 Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail [...]
- How to Configure APC Cache on Virtual Servers with PHP running under FCGId November 8, 2010
- Automated WordPress Installation Via Custom Virtualmin Script Installer May 17, 2012
- WordPress with W3 Total Cache on Nginx with APC (Virtualmin) March 12, 2012
- Varnish VCL and Config for WordPress with W3 Total Cache August 14, 2012
- Remote publishing to WordPress from Facebook via RSS July 25, 2011
- WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux April 27, 2013
- Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013 April 19, 2013
- Auto Mailer Form with Validation and reCAPTCHA January 16, 2013
- Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX) September 24, 2012
- SSL and CloudFront CDN Support for WebFonts via .htaccess September 5, 2012
- manny: Hi Chris, Thank you for sharing the script, it ...
- Prestashop et APC en multiboutiques | Webiche : Blog de Michel Tomas: [...] Configure APC sur Apache avec mod-fcgid [......
- Chris Gilligan: leonardo: Thanks for your kind words! I do not ...
- leonardo: hey !! I am very happy I am publishing from facebo...
- leonardo: Thats a very good tool !!! Thankyou very much I...
a little bird told me…
Follow @gilligoon on Twitter