Skip to main content

/tmp Directory problem

Comments

6 comments

  • quizknows
    What PHP handler are you using? DSO, SuPHP or CGI? Any 500 error should have information in the Apache error log. Reference that file to see what is causing the 500. /usr/local/apache/logs/error_log
    0
  • Maki187
    I use SuPHP. I have just look in that log, and there is no new error, only some old. And what is weird is that Image Uploading script just started working normal, and cgi shell script again work, and I didnt do anything. Only way I know I can stop shell script to work, is to chmod /tmp to 750, but then a lot other things is not working. Thanks.
    0
  • quizknows
    /tmp has to be 1777 for the server to function. The 1 is not a typo. If you have changed it, try chmod 1777 /tmp If the server is returining a 500 status code, something has to go into error_log. For all we know it could be modsecurity blocking an upload. You should be able to run "tail -f /usr/local/apache/logs/error_log" in a terminal while visiting the site and see the errors as you trigger them.
    0
  • Maki187
    um, ok, thank you, i will see that.
    0
  • webfreshing
    Interested in finding out how you went with this???
    0
  • cPanelMichael
    [quote="webfreshing, post: 1608102">Interested in finding out how you went with this???
    Feel free to let us know of any specific error messages if you are facing a similar problem and we will be happy to help. Thank you.
    0

Please sign in to leave a comment.