📜  PHP 不工作 centos 8 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:18.595000             🧑  作者: Mango

代码示例1
go to /etc/httpd/conf/httpd.conf

 then locate:

    DirectoryIndex index.html

  
change it to:
  
  
    DirectoryIndex index.html index.php


and restart apache http server with
    sudo systemctl restart httpd