当前位置:网站首页>Apache does not parse PHP files, but directly displays the source code
Apache does not parse PHP files, but directly displays the source code
2022-06-29 02:26:00 【hello php】
The main reason is the lack of one php Expand :mod_php
yum install mod_php1. find :
AddType application/x-gzip .gz .tgz
Add... Below it :
AddType application/x-httpd-php .php // Add support pair php Script parsing
2. find :
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
Change the middle line to :
DirectoryIndex index.html index.htm index.php // Add to php The index of
边栏推荐
- Understand flex layout in an article
- Boost the digital economy and face the future office | the launch of the new version of spreadjsv15.0 is about to begin
- Eliminate the hover effect when the button is disabled
- table通过伪类实现 另类自适应
- String length
- Use photoshop2022 to create a wonderful gradient effect for pictures
- HashSet storing objects and how to not store the same objects
- Table implements alternative adaptation through pseudo classes
- 【学习笔记】子集和问题
- 网上联系客户经理办理炒股开户安全吗?
猜你喜欢
随机推荐
Convert flat structure to tree structure
Com3529 test analysis
Eliminate the hover effect when the button is disabled
mark
String output
To apply for a test engineer after years, the resume with high scores should be written like this
Why install an SSL certificate on a web site?
Junior final exam
Crawler exercise (IV) -- IP address problem
B1009 irony
在按钮禁用时消除hover效果
【网络通信学习笔记】Socket.IO的搭建和部署
Use kubernetes resource lock to complete your own ha application
110. simple chat room 13: chat room server
Ctfhub web password weak password
110. 简易聊天室13:聊天室服务端
CTFHub-Web-SQL注入-整数型注入
字符串替换
利用kubernetes资源锁完成自己的HA应用
String method exercise









