Knowledgebase

Help needed

Posted by Divvy, 12-13-2011, 06:05 PM
Hello friends, Maybe someone can help me... This week got problems in my main hard disk and was needed to replace to a new one. So the server was setup again, but not by me because I dont have knowledge for that, but by a guy that offer his help. Now I think that I made something wrong... I used EasyApache in WHM to downgrade PHP version, and after that, when I visited a website of mine, I saw some errors. Header error: Footer error: I made an upgrade to php version right after to make everything back to normal, but I continue with same errors... what could be? What I did wrong? Please help... thank you!

Posted by T-Junk, 12-13-2011, 06:14 PM
It looks like you just need to set the right permissions for your root folder. It has to have the same user access as the user that Apache runs under. Hopefully that will fix it all.

Posted by Divvy, 12-13-2011, 06:15 PM
How can I do that? Can you teach me? Btw, was working fine before the easyapache update... I didn't touch anything else... why is showing that errors now?

Posted by T-Junk, 12-13-2011, 07:24 PM
I can try. And actually, I meant to say that your root folder (and everything in it) needs to have write permissions. Use CHMOD and make sure its set to 755. I think you'd use something like: So you say everything worked before you downgraded your PHP version, or before you swapped your HDD?? You might need to check permissions on your /tmp folder as well.

Posted by SafeSrv, 12-13-2011, 07:28 PM
Check the space of your /tmp folder and delete all session files (sess_) in there for a start

Posted by Patrick, 12-13-2011, 07:53 PM
It has nothing to do with public_html and everything to do with the /tmp directory. What are the permissions of the /tmp directory? ls -ld /tmp

Posted by Divvy, 12-13-2011, 08:19 PM
Here it is:

Posted by Divvy, 12-13-2011, 08:54 PM
That solved my problem! Thank you mate

Posted by Steven, 12-13-2011, 09:25 PM
It sounds like you either enabled or disabled suphp, and as a result session files were owned by the wrong user. That is why clearing the sess files from /tmp worked.

Posted by smoeini, 01-13-2013, 07:42 AM
I know this topic is to0 old, but after go0gling for 2 days, i got here, and this solution worked for me to Tnx. By the way is safe and regular to do so? Or it would be better if i increase /tmp size?



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
MCHOST Down? (Views: 619)
EuroVPS down (Views: 677)


Language:

Client Login

Email

Password

Remember Me

Search