SoftException in Application.cpp:404

Posted May 19, 2013 4.4k views
Hello, I have enabled the suPHP on CentOS server. create user assign privileges. HTML files are able to access but when I upload the PHP files I am getting "Internal Server Error". I have checked on server and the error is : "SoftException in Application.cpp:404: Mismatch between target UID (0) and UID (506) of file "/path/to/file/index.php" Premature end of script headers: index.php" Please help how to resolve it.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
Make sure the files are owned by your user and not root.