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-23 17:18:47]
cpanel:enable-suphp [2012-10-25 16:54:23]
shaun.reitan [Converting to suPHP Tips and Tricks]
Line 33: Line 33:
 <code console> <code console>
 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}}