Announcement

Collapse
No announcement yet.

Access denied to write in the tmp directory!

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access denied to write in the tmp directory!

    I've tried to run the file diagnosis.php on my web site, it throws error "Access denied to write in the tmp directory!" (see immage) So I am unable to create a database connection and if I run my web applications I can't export any report.
    I've tried already to give 777 permission on _lib/tmp folder in my web application but I didn't fix it. What am I missing here?

    Last edited by angelo.nerini@gmail.com; 03-03-2016, 12:17 PM.

  • #2
    Have you checked its not something simple like the folder permissions?
    Will
    www.willhogarth.com

    Comment


    • #3
      Let me reply, as I work with Angelo....
      We set chmod -R 777 _lib
      Running diagnosis.php says no write permissions, and in fact it doesn't create the log file for this page...

      Comment


      • #4
        Change the owner of all files in www-data ( or whatever )
        chown -R www-data:www-data *
        Giorgio Bravi
        Dolphin Software & Thinkware
        www.dolphin.it

        Comment


        • #5
          Originally posted by gbravi View Post
          Change the owner of all files in www-data ( or whatever )
          chown -R www-data:www-data *
          Assigning them to...?

          Comment


          • #6
            Sorry for delay.... assigning to www-data user and www-data group as in the command ( www-data is the default owner for apache2 on Ubuntu linux )
            Giorgio Bravi
            Dolphin Software & Thinkware
            www.dolphin.it

            Comment

            Working...
            X