…on your machine. Why? Because then you do not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so in /etc/httpd/conf.d/php.conf Remove any php_memory_limit… (Search hits: 14 in body, 1 in title, 0 in categories, 1 in tags, 0 in other taxonomies, 0 in comments. Score: 370.63)
Search results for "enable-mod_fcgid-for-one-domain"
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
…for each virtual domain, which you can use to reload PHP. The service scripts are located in /etc/rc.d/init.d. php-fcgi-domain1-com php-fcgi-domain2-com Script allows stop, start, restart e.g. service php-fcgi-domain2-com restart The… (Search hits: 8 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 161.8)
APC Cache Considerations for Virtual Hosting Environments
…to enable APC on a commodity web hosting server, you may try the following method to selectively enable APC per directory: http://www.php.net/manual/en/ini.php Also see other recommendations in following comments… … (Search hits: 3 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 67.58)
Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
…This may break your mod_security implementation. # #<IfModule mod_security.c> # <Directory /usr/share/phpMyAdmin/> # SecRuleInheritance Off # </Directory> #</IfModule> NginX Edit nginx.conf for the hostname’s server_name website location /phpMyAdmin { root… (Search hits: 2 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 53.08)
SSL and CloudFront CDN Support for WebFonts via .htaccess
…prevent cross-site attacks, but you can allow this via Apache mod_headers, to allow your specific CloudFront (or other) domain, specified in the .htaccess file. Some sites have suggested using “*”… (Search hits: 2 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 45.39)
Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
…Recommendations —————————————————– General recommendations: Add skip-innodb to MySQL configuration to disable InnoDB Run OPTIMIZE TABLE to defragment tables for better performance Enable the slow query log to troubleshoot bad queries… (Search hits: 2 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 45.06)
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>$ […]
Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel
…to run as FastCGI (fcgid) and recompiled Apache to better handle the needs of a high traffic WordPress site. Configured a large MySQL table and query cache based on performance… (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 22.53)
Auto Mailer Form with Validation and reCAPTCHA
…return between values foreach ($_POST[‘When’] as $val) { $When .= $val.”\n”; } $DetailWhen = $_POST[‘DetailWhen’]; // create and send the email $to = “you@yourdomain.com”; $email_from = $Email; $email_subject = “Course… (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 18.84)
Cpanel Mailman mailing lists: cannot manage lists after migrating to new host
…a new mailing list. This turned out to be a permissions issue: root@cpanel1 [/usr/local/cpanel/3rdparty/mailman/bin]# ./check_perms –snip– directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/…/list_domain.com/… –snip– Problems found: 2999 # ./check_perms -f FIXED!!!… (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 18.84)