Categorized | Apache

fixing internal server error caused by SuPHP handler in apache

There are lots of times that you may be encountered this error on your websites on the server

HTTP Error 500 – Internal server error

Even after transfering your site to a new web hsoting or by changing the handler on suphp on your panel let say cpanel.

As the SUPHP is sensitive for permission other than 755 for directories  and 644 for files and that will result in an internal serve error

Also all of the accounts files  and folders must have an ownership equal to their acount username meaning a file with sam ownership in a directory of another user account lets say peter will also result in an internal server error

To resolvce account ownership or permission on every account modifiy the follwing code with desired username then run it into your ssh

Correcting Directory Ownership

find /home/username/public_html -type d -exec chown username:username '{}' \;

Correcting Files Ownership

find /home/username/public_html -type f -exec chown username:username '{}' \;

Correcting Directory Permision

find /home/username/public_html -type d -exec chmod 755 '{}' \;

Correcting Files Permision

find /home/username/public_html -type f -exec chmod 644 '{}' \;

voshka

thanks

http://www.datingmystic.com/index.php?option=com_content&view=section&id=3&Itemid=41&yak=zlbg&kxz=880&xz=362&rq=

Related posts:

  1. how to change permissions of files and folders in linux
  2. The Most usabel Lniux Commands
  3. dot net panel installation error “sql server does not exist or access denied”
  4. backup and restore Cpanel accounts with command line usnig ssh
  5. where is yahoo archive in windows vista
  6. How to stream flv with apache and jwplayer in linux server?

2 Responses to “fixing internal server error caused by SuPHP handler in apache”

  1. saeed says:

    hi woshka
    what are u doing?
    you are best.

  2. voshka says:

    HI
    I’m doing Greate

    Thanks

Trackbacks/Pingbacks


Leave a Reply

Plese subscribe to my newsletter

Please subscribe via your email to follow me

E-mail:

Subscribe
Unsubscribe