Contact Menu

Search results for "chmod recursively directory"

Screen Shot 2012-09-07 at 11.09.50 AM

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

…wall will prevent other access. Install phpMyAdmin on a separate web server, and restrict access to PMA’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 […]

Continue Reading 0

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 {} \;… 5, 0, 2, 0 and 415.46

Continue Reading 7
APC INFO Monitor

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

…tomLog /var/log/serversoftware/chrisgilligan.com_access_log combined ScriptAlias /cgi-bin/ /home/chris/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options Indexes IncludesNOEXEC 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/p… 6, 0, 0, 0 and 383.49

Continue Reading 54

Cpanel Mailman mailing lists: cannot manage lists after migrating to new host

…d list, open a URL similar to this one, but with a ‘/’ and the right list name appended. If you have the proper authority, you can also create 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/…/… –snip– Problems found: 2999 […]

Continue Reading 2

Automated WordPress Installation Via Custom Virtualmin Script Installer

…r/libexec/webmin/virtual-server/scripts/ Automatic installation with creation of new virtual server: Virtualmin > System Settings > Server Templates > Default Settings > Default Script Installers Custom WordPress If you want to have the script archive download from a protected web directory, that is also possible: ‘url’ => “”, ‘nocache’ => 1, ‘user’ => “username”, ‘pass’ => “password”… […]

Continue Reading 47

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

…lled in /public_html/wordpress, so you will need to omit or change /wordpress if WP is installed in a different directory. location ^~ /files/ { rewrite /files/(.+) /wordpress/wp-includes/ms-files.php?file=$1 last; } location @wordpress { fastcgi_pass localhost:9000; 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; fast… 1, 0, 0, 0 […]

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…vidual accounts to be configured with individual php.ini and fcgiwrapper, or even different versions of PHP. Of course, because this will require greater management, it should be charged as a premium service. If you wish to enable APC on a commodity web hosting server, you may try the following method to selectively enable APC per […]

Continue Reading 4