Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
 
PREVIOUS NEXT
Tagged: #PHP #working #centos
ADD COMMENT
Topic
Name
9+1 =