Getting permission denied running./validate.php

Has anyone seen this before? I am trying to run ./validate.php and getting permission denied regardless of who I run it as. Thank you.

Can you paste the output of ./validate.php?

Could it be something as silly as execute permissions on validate.php?

$ chmod -x validate.php
$ ./validate.php
-su: ./validate.php: Permission denied
$ chmod +x validate.php
$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.37-127-g9885be4
DB Schema | 247
PHP       | 7.2.3-1+ubuntu16.04.1+deb.sury.org+1
MySQL     | 10.2.14-MariaDB-10.2.14+maria~xenial
RRDTool   | 1.5.5
SNMP      | NET-SNMP 5.7.3
====================================

[OK]    Composer Version: 1.6.3
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct
$

We found many users needed to update their selinux contexts.

https://docs.librenms.org/Installation/Installation-CentOS-7-Apache/#selinux
https://docs.librenms.org/Installation/Installation-CentOS-7-Nginx/#selinux