Ad Widget

Collapse

php script not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kksan
    Junior Member
    • Jul 2018
    • 14

    #1

    php script not working

    Hi all,

    I'm having an issue with a php script in zabbix.
    Here's my error:
    -2021-03-25 15:00:55-- http://192.168.25.21/callproattivita.php
    Connecting to 192.168.25.21:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [text/html]
    callproattivita.php: Permission denied

    Cannot write to ‘callproattivita.php’ (Permission denied).
    I tried giving ownership to zabbix:zabbix instead of root:root to the folder and the file, tried also to add a+x permissions, tried giving 777 permissions, but it's still giving me this error.

    The action that runs my script its just "wget http://192.168.25.21/callproattivita.php"
    Zabbix version is 5.0

    Any hint?
    Where can I check what's the mistake?

    Thank you all
Working...