i have installed the LAMP server on my kali linux machine and i have been trying to run PHP scripts. When the script is run in visual studio IDE, it runs but it can't run in browser. what could be the problem?
Asked
Active
Viewed 16 times
-2
-
Have you tried turn off, or allow your apache server to pass SELinux, by default several distro has SELinux enabled. – Didit Dwianto May 30 '22 at 09:51
-
i have not, how do i do it – Cyber Venom May 30 '22 at 13:34
-
WARNING: Disabling SELinux highly not recommended on production server. This is only for development purposes. To disable it temporarily just invoke "sudo setenforce 0" command. To disable it permanently, edit the /etc/selinux/config file, and change SELINUX=disabled, save then reboot. – Didit Dwianto May 31 '22 at 10:45