php环境搭建
lightYouUp
只要学不死,就往死里学。
展开
-
nginx服务器配置隐藏index.php入口文件
location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } }原创 2022-02-08 11:44:27 · 2146 阅读 · 0 评论 -
phpstudy隐藏index.php
在.htaccess文件填入,注意index.php使用? <IfModule mod_rewrite.c> RewriteEngine on RewriteCond $1 !^(index.php|images|robots.txt) RewriteRule ^(.*)$ /index.php?/$1 [L] </IfModule>原创 2022-02-08 04:04:34 · 524 阅读 · 0 评论 -
centos设置服务跟随系统启动
chkconfig 命令 使用chkconfig 或者 chkconfig –list就可以看出当前系统已经设置的各个服务在各个运行级别下的开闭状态 [root@VM-0-14-centos /]# chkconfig servicename on/off [root@VM-0-14-centos /]# chkconfig --list Note: This output shows SysV services only and does not include native syste原创 2021-09-07 04:52:32 · 282 阅读 · 0 评论 -
php安装redis扩展
首先下载解压phpredishttps://github.com/phpredis/phpredis/releases。 cd phpredis sudo phpize sudo ./configure --with-php-config=/usr/local/php/php-8.0.9/bin/php-config sudo make sudo make install 拷贝“modules” 目录中的内容到 PHP extension 目录,并修改 php.ini 增加 extension .原创 2021-08-13 00:54:45 · 375 阅读 · 0 评论 -
php8编译安装
centos8+php8的安装原创 2021-08-12 23:41:22 · 942 阅读 · 0 评论