-
Recent Posts
Recent Comments
Archives
Categories
Meta
Author Archives: Alvin
Ubuntu安装wordpress疑难杂症流水账
操作系统版本:Ubuntu 18.04
问题1:安装apache2和php后无法解析php,即php直接以文本文件显示出来。
需要修改apache2配置文件:
1 2 3 4 5 6 7 8 9 10 |
root@chen:~# tail -8 /etc/apache2/apache2.conf <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> LoadModule php7_module modules/libphp7.so AddType application/x-httpd-php .php DirectoryIndex index.php index.htm index.html root@chen:~# |
但重启apache2显示找不到libphp7.so。原来是[……]
Posted in tittle tattle
Leave a comment
Hello world!
Posted in tittle tattle
Leave a comment