Report this

What is the reason for this report?

SoftException in Application.cpp:404

Posted on May 19, 2013

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.



This textbox defaults to using Markdown to format your 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.