Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cpanel:enable-suphp [2012-10-24 00:18:47]
shaun.reitan
cpanel:enable-suphp [2012-10-25 23:54:23]
shaun.reitan [Converting to suPHP Tips and Tricks]
Line 33: Line 33:
  
 <code console> <code console>
-/scripts/chownpublichtmls 
 cd /var/cpanel/users/ cd /var/cpanel/users/
-for i in *; find ./ -iname "*.php" -exec chmod -v 600 {} \;; find ./ -type d -exec chmod -v 711 {} \;;done+/scripts/chownpublichtmls 
 +for i in *;do find /home/$i/public_html -iname "*.php" -exec chmod -v 600 {} \;; find /home/$i/public_html/ -type d -exec chmod -v 711 {} \;;done
 </code> </code>
  
 {{tag>how-to php suphp}} {{tag>how-to php suphp}}