Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
cpanel:enable-suphp [2012-10-23 17:18:47]
shaun.reitan
cpanel:enable-suphp [2012-10-23 17:19:39]
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 *; 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}}