Author Topic: suPHP - 500 Internal Server Error  (Read 74669 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: suPHP - 500 Internal Server Error
« Reply #45 on: January 24, 2019, 12:13:48 AM »
Hi guys.

I'm trying to solve this HTTP ERROR 500 (6 days trying and nothing....),
but i can't solve...
I read about a solution:

"Big thanks to Sandeep for fixing the issues that I had, and for taking the time to converse via PM etc in resolving the issue.

A Big thanks for this wonderful support. "

But i cant see the solution..  can you guys say what to do or help me in some way?

I'll be gratefull.
regards

Offline
*
Re: suPHP - 500 Internal Server Error
« Reply #46 on: March 04, 2019, 01:10:26 PM »
Hello there guys,

Another one in desperate need for help here.

I'm getting 500 error whenever I try to open php page. I can open html pages though.
I have newly installed CentOS 7 with CWP.

I have very limited knowledge about linux environment, though I know how to use ssh (i own another linux server, which was already in working condition when I get it).

Here's files and permissions that I have in htdocs directory:
-rw-r--r-- 1 root root     49 Feb 20 09:31 index.html
-rw-r--r-- 1 root root   5069 Feb 26  2018 index-orig.html
-rw-r--r-- 1 root root 550726 Feb 19 23:30 najava2019.png
-rw-r--r-- 1 root root     24 Feb 19 23:32 nikola.php
-rw-r--r-- 1 root root     10 Feb 19 13:07 phpinfo.php
drwxr-xr-x 6 root root   4096 Aug 22  2014 webftp_simple

And here's an error from error_log:
[Mon Mar 04 14:07:41.395390 2019] [:error] [pid 2115:tid 140338167944960] [client 212.200.80.129:59946] SoftException in Application.cpp:350: UID of script "/usr/local/apache/htdocs/phpinfo.php" is smaller than min_uid
[Mon Mar 04 14:07:41.395436 2019] [core:error] [pid 2115:tid 140338167944960] [client 212.200.80.129:59946] End of script output before headers: phpinfo.php

I assume it's permission/ownership problem with suPHP, but It's frustrating as I'm trying to figure it out by reading a tons of articles from the web, but can't seems to find a solution. I don't even know how to check if I'm using the right user (root:root) for files, though I haven't changed/added new users or anything, this is something that should be working by default, right?

Note that I have just one site hosted on this server, and I'm not gonna add new ones, so I don't need different users, permissions and stuff, just one global setting for everything, for what it's worth.

Please advice where to go from here.

Thanks,
Nikola
« Last Edit: March 04, 2019, 01:13:36 PM by Dzonny »

Offline
*
Re: suPHP - 500 Internal Server Error
« Reply #47 on: March 04, 2019, 02:29:47 PM »
simple under users in the cwp admin you have option fix account permissions and select user "nobody"
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.