做LAMP 只能访问到html文件,访问不到hph文件
防火墙已经关闭
相关配置已更改
```bash
TypesConfig /etc/mime.types
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php index.html
首页文件也更改
```c
[root@chaogelinux ~]# cat /var/www/html/index.php
<meta charset=utf8>
我是新的首页,你好兄弟们
<?php
phpinfo();
?>
httpd 、mariadb都是正常的
日志显示:
```bash
[Wed Apr 12 17:05:38.213044 2023] [lbmethod_heartbeat:notice] [pid 2136] AH02282: No slotmem from mod_heartmonitor
[Wed Apr 12 17:05:38.225116 2023] [mpm_prefork:notice] [pid 2136] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Wed Apr 12 17:05:38.225150 2023] [core:notice] [pid 2136] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
有没有大佬遇到过的