…+0000′, get_post_time(‘Y-m-d H:i:s’, true), false); ?></pubDate> <dc:creator><?php the_author() ?></dc:creator> <?php the_category_rss(‘rss2’) ?> <guid isPermaLink=”false”><?php the_guid(); ?></guid> <?php if (get_option(‘rss_use_excerpt’)) : ?> <description><![CDATA[<?php get_the_excerpt(); ?>]]></description> <?php else : ?> <description><?php echo… (Search hits: 52 in body, 1 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 625.21)
Search results for "chmod-644-only-for-php"
How to Configure APC Cache on Virtual Servers with PHP running under FCGId
…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 </Directory> <Directory /home/chris/cgi-bin> allow from all </Directory> SuexecUserGroup “#987” “#756” Options… (Search hits: 41 in body, 1 in title, 0 in categories, 2 in tags, 0 in other taxonomies, 0 in comments. Score: 515.22)
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 […]
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
…fastcgi_param SCRIPT_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/ {… (Search hits: 26 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 301.03)
Auto Mailer Form with Validation and reCAPTCHA
…5+. Note that there are different packages for PHP 5.3, so get the correct flavor of version 3. This example works with PHP 5.3. I have created an example form… (Search hits: 11 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 127.36)
Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
…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 /etc/httpd/conf.d/phpMyAdmin.conf Allow… (Search hits: 10 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 115.78)
APC Cache Considerations for Virtual Hosting Environments
APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper…. (Search hits: 9 in body, 0 in title, 0 in categories, 1 in tags, 0 in other taxonomies, 0 in comments. Score: 112.89)
Recursive chmod Tricks
…only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ‘*.php‘ -exec chmod 644 {} \;… (Search hits: 5 in body, 0 in title, 0 in categories, 1 in tags, 0 in other taxonomies, 0 in comments. Score: 111.75)
Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel
…server, PHP and MySQL to better utilize the server’s horsepower. Cpanel’s efault Apache and MySQL configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP… (Search hits: 6 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 69.47)
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>$ […]