Contact Menu

Search results for "chmod files by type"

chmod-linux-1

Recursive chmod Tricks

Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ‘*.php’ -exec chmod 644 {} \;… 3, 0, 0, 0 and 494.68

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)

…217;s directory (see below). # phpMyAdmin – Web based MySQL browser written in php # # Allows only localhost by default # # But allowing phpMyAdmin to anyone other than localhost should be considered # dangerous unless properly secured by SSL Alias /phpMyAdmin /usr/share/phpMyAdmin Alias /phpmyadmin /usr/share/phpMyAdmin # Apache 2.4 … 4, 0, 0, 0 […]

Continue Reading 0
LAMP-linux-apache-mysql-php

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

…ee “MEMORY USAGE” section to make sure you are not over-allocating INNODB STATUS Current InnoDB index space = 0 bytes Current InnoDB data space = 0 bytes Current InnoDB buffer pool free = 96 % Current innodb_buffer_pool_size = 8 M Depending on how much space your innodb indexes take up it may be safe to […]

Continue Reading 7
APC INFO Monitor

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

…change every time a cached script or object is called. So, with polling turned off, your settings/configuration files will remain cached, and this will cause you a lot of frustration. W3 Total Cache in particular is difficult to get configured properly with apc.stat=0 because the config settings and files are dependent upon database and php, […]

Continue Reading 54

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
virtualmin-nginx-wordpress-permalinks-apc

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

…irtualmin. You must include the location {…} directives in the nginx.conf created in your public_html root by W3TC, and add them after the location {…} directives described above. You can do this either by copying the directives and pasting into /etc/nginx/nginx.conf, or (better) by using an include statement: […] location ^~ /blogs.dir/ { internal; root /home/username/public_html/wordpress/wp-content; } […]

Continue Reading 18
utc-edu-bootstrap-site

University Website and Blog Redesign

…otstrap components, but now Jasny’s Bootstrap 3.0 fork (jasny.github.io/bootstrap) has a similar extension. LESS Files: along with the entire development site (was easier to zip this way). Download & unzip, it will run as a local site if you like… Start with kickstrap.less, see what it includes — mostly the standard Bootstrap LESS files. Next look […]

Continue Reading 0
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…umber of personal clients, so I adjust the APC settings for each individual account, depending on the number and type of PHP script packages running on the account. These accounts are all administered by myself, not by the clients. I do not think APC is the correct cache for most shared web hosting servers, given […]

Continue Reading 4