Loading...
1.进入Apache编辑httpd.conf文件 2.找到#LoadModule rewrite_module modules/mod_rewrite.so 改为 ```shell LoadModule rewrite_module modules/mod_rewrite.so ``` 3.找到 ```shell # AllowOverride controls...
1.进入Apache编辑httpd.conf文件 1、增加下面内容 ```shell AddType application/x-httpd-php .php .phtml #以php结尾的,交给php处理 AddType application/x-httpd-php-source .phps ``` 找到DirectoryIndex index.h...
查询Apache是否安装 ```shell rpm -qa |grep httpd ``` 查询PHP是否安装(三种命令) ```shell whereis php php -v rpm -qa | grep php ``` 查询MYsql是否安装 ```shell ps -ef | grep mysql ``` 卸载Apache命令 ```shell rpm...
# Linux安装PHP7.X 下载PHP安装包并上传到服务器(新建一个文件夹用来存放) 1.安装PHP依赖 ```shell yum install gcc libxml2 libxml2-devel openssl openssl-devel bzip2 bzip2-devel libcurl libcurl-devel libjpeg libjpeg-devel libpn...
# Linux搭建Apache 1.安装APR,APR-util,PCRE,expat,gcc,gcc-c++的依赖 ARP和APR-util在http://apr.apache.org/download.cgi 这里下载 PCRE在https://pcre.org 这里下载 expat使用yum安装 ```shell yum install -y expat-devel* `...