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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Make sure the files are owned by your user and not root.