Answers for "PHP not working centos 8"

PHP
0

PHP not working centos 8

go to /etc/httpd/conf/httpd.conf

 then locate:
<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>
  
change it to:
  
  <IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>

and restart apache http server with
    sudo systemctl restart httpd
Posted by: Guest on January-15-2022

Browse Popular Code Answers by Language