SoftException in Application.cpp:404

  • Posted May 19, 2013


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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Make sure the files are owned by your user and not root.