Top Menu

Search results for "recursive chmod directory only"

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

…ache login failure IP blacklisting. For Amazon EC2, a good practice is to create a discrete database server, and only allow access to it inside a VPC security group, or from specific IP addresses enabled in that security group. That way, you can safely Allow from ALL hosts, because the VPC firewall will prevent other access. Install phpMyAdmin on a separate web server, and restrict access to PMA’s directory (see below). # phpMyAdmin – We… 13, 0, 0, 0 and 674.58

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 {} \;… 1, 0, 1, 0 and 324.33

Continue Reading 4
APC INFO Monitor

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

…a good example of a common WordPress theme plugin that may not need to be cached. Because the apc.filters RegExp only works with filenames, it is not possible to filter out an entire PHP script package, component or plugin based on the directory where it resides. So if you do not wish to use APC cache on a particular script package, you should run it in a separate website. Some PHP script packages such as Gallery2 have an incredibly large number… 6, 0, 0, 0 and 311.34

Continue Reading 53

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

We recently migrated 2 Cpanel servers to VPS. Most things migrated properly and without incident. However, Mailman mailing lists were the exception. Mailing lists appear to have migrated properly, as they show up under WHM and Cpanel and usr/local/cpanel/3rdparty/mailman/bin/list_lists However, when cpanel user clicks Manage link, the following message appears: cpanel1.hosting.com mailing lists – Admin Links No such list listname_domainnam… 1, 0, 1, 0 and 90.81

Continue Reading 2

Automated WordPress Installation Via Custom Virtualmin Script Installer

Updated: please read instructions again and find link to new example file. WordPress (or any other script) can automatically install during Virtualmin > Create Virtual Server. Virtualmin automatically creates users, MySQL database, and installs WordPress in the public_html root, then gives a link to the WordPress Installer. You can even create a custom installer with a set of plugins and themes. To create a custom script installer with plugin… 1, 0, 0, 0 and 51.89

Continue Reading 35

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

Virtualmin now includes support for Nginx web server. I deploy many WordPress sites with W3 Total Cache and APC Alternative PHP Cache, so I was very interested to see how Nginx performance compares to Apache for WordPress, and whether APC and W3TC would play nice with Nginx. I prefer to install WordPress in public_html/wordpress for ease of development, compatibility with other scripts, etc. Accordingly, the suggested configuration is for WordPr… 1, 0, 0, 0 and 51.89

Continue Reading 18
APC INFO Monitor

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. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 1, 0, 0, 0 and 51.89

Continue Reading 2