当前位置:网站首页>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
边栏推荐
- [MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc
- String method exercise
- 在按钮禁用时消除hover效果
- 字符串分段组合
- Which is the best billing method for okcc call center
- Qt基础教程:数据类型与容器
- [learning notes] subsets and questions
- Differences between web testing and app testing
- Sysbench Pressure Test Oracle (installation and use examples)
- Koa 快速入门
猜你喜欢

Understand flex layout in an article
![[redis] get to know redis for the first time](/img/02/3c6a7f6ea8c563386a4cd458024728.png)
[redis] get to know redis for the first time

Some tests on complementary wasm environment

正则表达式(?:pattern)
![[redis] key hierarchy](/img/ab/a5d3bb61b4571966d0f47037af4f41.png)
[redis] key hierarchy

"The first share of endoscope" broke into IPO two times. Last year, it lost 500million yuan. The commercialization of core products is still in doubt | IPO Express

【Redis】List类型

Use photoshop2022 to create a wonderful gradient effect for pictures

Flex application: realize two rows and five columns of data, self-adaptive

Ctfhub web SQL injection - integer injection
随机推荐
Understanding and design of high concurrency
微信运动自动点赞
Sysbench Pressure Test Oracle (installation and use examples)
月薪没到30K的程序员必须要背的面试八股,我先啃为敬
Use photoshop2022 to create a wonderful gradient effect for pictures
Blog publishing test 3
学习太极创客 — MQTT 第二章(九)本章测试
Ctfhub web password weak password
Koa 快速入門
table通过伪类实现 另类自适应
SystemVerilog-结构体(一)
Mipi d-phy -- contents of HS and LP agreements
哪个证券公司最大最安全 哪家券商服务好
微信小程序自定义组件
110. simple chat room 13: chat room server
字符串替换
B1006 output integer in another format
Convert flat structure to tree structure
Boost the digital economy and face the future office | the launch of the new version of spreadjsv15.0 is about to begin
Why is it recommended that you choose the self research company as much as possible