Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using godaddy CentOS, Cpanle, suphp with easyapache and when i try to hit my php page i get 500 error and following lines in Apache log:

[Fri Apr 20 04:23:48 2012] [error] [client] SoftException in Application.cpp:422: Mismatch between target UID (99) and UID (502) of file "/home/user/public_html/phpinfo.php"
[Fri Apr 20 04:23:48 2012] [error] [client] Premature end of script headers: phpinfo.php
[Fri Apr 20 04:23:48 2012] [error] [client] File does not exist: /home/user/public_html/500.shtml

I feel that issue is with permission but i font know from where this target user is coming (nobody use of uid 99) and where should i set those permissions. I tried setting phpinfo but no success. can any 1 please help me.

share|improve this question

closed as off-topic by HopelessN00b Mar 11 '15 at 20:00

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted

This sounds like an ownership problem. The error message seems to say that it requires the UID (i.e the owner) of the file to be 99 but it is currently 502. My guess is that 502 is your UID and 99 is Apache. (Actually, judging on the comments in other forums when searching for this error message, it's probably the "nobody" user.)

Try sudo chown nobody phpinfo.php

If you have some other method of changing ownership of files through cPanel, feel free to use that instead.

share|improve this answer
issue has been resolved by disabling suphp in apache conf. thanks all – Kashif Apr 20 '12 at 13:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.