• Resolved f1f

    (@f1f)


    I’ve installed Firestats (https://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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter f1f

    (@f1f)

    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.

    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.

    Thread Starter f1f

    (@f1f)

    Thank you very much!

    I reckon we can consider this resolved then.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Firestats – Grant PHP user write access to folder’ is closed to new replies.