Settings | Sign in | Sign up

The author has 2 posts.

【Linux】lamp不解析php的解決方法

Floor 1 产品的注销 1/2/11 22:52
首先進入終端,執行:
sudo chmod -R 777 /etc/php5/apache2
sudo chmod -R 777 /etc/apache2

然後在/etc/apache2/apache2.conf中的
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
下面添加:
# 解析php
Include /etc/apache2/mods-available/php5.load
Include /etc/apache2/mods-available/php5.conf


即可。

Floor 2 产品的注销 1/2/11 22:52
別忘了重啟Apache哦

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
©2010-2025 Purasbar Ver3.0 [Mobile] [Desktop]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported license.