[resolved] Firestats - Grant PHP user write access to folder (4 posts)

  1. f1f
    Posted 8 years ago #

    I've installed Firestats (http://firestats.cc) on my blog but it's not working.

    When I click on the Firestats tab I am given the following:

    FireStats requires write access to a directory to store session information, in normal circumstances FireStats creates the directory fs_sessions inside the temp directory, but if the server is configured to use PHP safe mode then using the temp directory directly may not be possible.
    in such cases, FireStats attempts to use the directory fs_sessions under the FireStats home directory (for example, /www/firestats/fs_sessions).

    You need to create the directory for FireStats, and grant the PHP user write access.
    exactly how to do it highly depends on your server configuration. if you encounter problems please consult your system administrator.

    I have created the fs_sessions directory but the plugin still isn't working.

    I don't understand what it means by "grant the PHP user write access to it" - can someone please explain?

  2. f1f
    Posted 8 years ago #

    I've made some progress since first posting.

    I made the folder's permissions 777 and the plugin works.

    I was under the impression that having any of its properties set to '7' was bad, so I did some trial & error and found I could get away with having it set to 667.

    Is this the correct way of making the plugin work? I don't want to leave my site vulnerable.

  3. MichaelH
    Posted 8 years ago #

    File permission problems can vary from host to host and can also cause heated discussion about security ;)

    In Hardening WordPress developers intend the wp-content file to be writeable (777) by all.

    If those permissions on a temp directory worked for you, then you probably don't need to worry. Nice detective work in figuring out what was necessary on your host to make that plugin work.

  4. f1f
    Posted 8 years ago #

    Thank you very much!

    I reckon we can consider this resolved then.

Topic Closed

This topic has been closed to new replies.

About this Topic