hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Internal Server Error
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Internal Server Error

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-19-2009, 11:53 AM
mixmox mixmox is offline
Web Hosting Master
 
Join Date: Sep 2008
Location: Canada
Posts: 996

Internal Server Error


hello. when i change my PHP 5 Handler to SUPHP in cpanel/whm i have
Internal Server Error

in all of my website

Reply With Quote


Sponsored Links
  #2  
Old 04-19-2009, 12:00 PM
AquariusStorage AquariusStorage is offline
Disabled
 
Join Date: Sep 2005
Location: A box
Posts: 2,050
Well the first thing that comes to mind is, did you change it back? If your websites are important, and and they are currently displaying a Internal Server Error, the first thing I would recommend is changing it back to what ever it was set as before, and restarting httpd (apache?). Then someone with more experience on SUPHP via cPanel/WHM can come in and save you .

Reply With Quote
  #3  
Old 04-19-2009, 04:26 PM
vapetrov vapetrov is offline
Web Hosting Guru
 
Join Date: Nov 2003
Location: Kherson, Ukraine
Posts: 265
Quote:
Originally Posted by nimafire View Post
hello. when i change my PHP 5 Handler to SUPHP in cpanel/whm i have
Internal Server Error

in all of my website
Look into your apache error log /usr/local/apache/logs/error_log
You'll surely find clear answer.
It seems like permissions problem.

__________________
Private remote administrator of Linux servers - www.petrov.ks.ua
Quality hosting - Host-Web-Site.com

Reply With Quote
Sponsored Links
  #4  
Old 04-19-2009, 05:09 PM
Servosupport Servosupport is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Location: India
Posts: 32
1. In cPanel server, where php is handled with suPHP, the majority of internal server errors can be solved verifying and modifying files and folder permissions. If you use permission 777 (grant all permissions to owner, group and public), this may cause the error. The best way is to change folder permissions (chmoding) to 755 and files to 644 (except if specified by the software developer).

You can mass change all the files and folders permissions in case that you change from another host that didn’t had this problem. Changing tons of folders maybe a hard task, so let’s go with a simple way:

To change all folder permissions to 755, open SSH and type:

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

To change all file permissions to 644, opeen SSH and type:

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

2. Another common reason for this error is the .htaccess file trying to change PHP flags. Some hosts don’t allow that (only changing php.ini files). Open your .htaccess files and check for entries like “php_flag” e “php_value”.
If you find any sort of entires try removing it and then check

__________________
Servo Support
Serving support at our best
http://www.servosupport.com

Reply With Quote
  #5  
Old 04-19-2009, 05:46 PM
bear bear is online now
Community Leader
 
Join Date: Oct 2002
Location: cognito
Posts: 17,320
Quote:
Originally Posted by Servosupport View Post
find /home/*/public_html -type f -exec chmod 644 {} \;
Use with caution. Things like cgi scripts need 755 to run, and this would change those as well.

__________________
Have problems (don't we all)? Head over to the help desk
If at first you don't succeed, that's one data point.


Reply With Quote
  #6  
Old 04-19-2009, 06:28 PM
pablolagosm pablolagosm is offline
Newbie
 
Join Date: Dec 2007
Posts: 10
Another commmon reason of this problem is the owner of the files.
Look into the folder /home/username/ where username is the problematic account and type dir -all
You will see the owner of the files. It must be the same username. If you see 'nobody' or other, that is the problem.

In this case, write chown username:username * -fR

And the problem will be resolved.

Reply With Quote
  #7  
Old 04-20-2009, 12:09 AM
SparkSupport SparkSupport is offline
Web Hosting Master
 
Join Date: May 2006
Posts: 646
Make the permission for folders 755, files 644 excluding cgi-bin files.

__________________
SparkSupporT
http://sparksupport.com
sales@sparksupport.com
1- 408-335-0493

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Cloud Spectator Study Finds Internal Network Stability Crucial to Overall Cloud Performance Web Hosting News 2012-09-06 09:29:36
Colocation Firm PeakColo Completes SSAE 16/SOC 1 Audit Web Hosting News 2011-10-17 17:45:14
Web Host 1&1 Experiences Server Outage Web Hosting News 2011-09-26 17:29:11
Bangladeshi Hacker TiGER-M@TE Targets InMotion Hosting Web Hosting News 2011-09-26 15:24:05
Canadian Web Host VEXXHOST Launches Cloud Hosting Service for Developers Web Hosting News 2011-05-26 14:24:05


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?