服务器环境配置
文章平均质量分 51
lilian129
这个作者很懒,什么都没留下…
展开
-
php7.3报错Call to undefined function mcrypt_module_open()使用openssl解决
php拓展、微信解密原创 2023-02-13 15:16:51 · 907 阅读 · 0 评论 -
nginx报错:connect() failed (111: Connection refused) while connecting to upstream
nginx、php-fpm原创 2023-02-06 17:57:23 · 3710 阅读 · 0 评论 -
Beego框架项目搭建步骤
beego原创 2022-12-22 19:05:51 · 879 阅读 · 0 评论 -
yum install expat-devel 提示Failed to download metadata for repo ‘AppStream‘ 解决办法
在安装apr-util-1.6.1 的过程中安装命令:# tar zxvf apr-util-1.6.1.tar.gz# cd apr-util-1.6.1# ./configure --with-apr=/usr/local/apr# make && make install安装过程中出现报错:xml/apr_xml.c:35:19: error: expat.h: No such file or directory原因是缺少expat库,需要安装expat,查阅了不少资原创 2022-03-03 18:35:23 · 1481 阅读 · 0 评论 -
Centos8 环境下安装mysql-5.7
安装Mysql1、在执行wget命令的目录下或你的上传目录下找到Mysql安装包:mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz执行解压命令:[root@localhost/]#tar xzvf mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz解压完成后,可以看到当前目录下多了一个解压文件,移动该文件到/usr/local/下,并将文件夹名称修改为mysql执行命令如下:[root@localh...原创 2020-07-22 13:02:30 · 1626 阅读 · 0 评论 -
linux环境php安装:configure: error: xml2-config not found. Please check your libxml2 installation
安装php时的报错checking libxml2 install dir... nochecking for xml2-config path...configure: error: xml2-config not found. Please check your libxml2 installation.检查是否安装了libxm包[root@XKWB3403 php-5.3.8]# rpm -qa |greplibxml2libxml2-2.6.26-2.1.12libx...原创 2020-07-21 10:43:49 · 388 阅读 · 0 评论 -
linux安装php环境,解决php编译报错configure: error: mcrypt.h not found. Please reinstall libmcrypt.
configure: error: mcrypt.h not found. Please reinstall libmcrypt.方法一:yum install -y epel-releaseyum install -y libmcrypt-devel两个不能一起安装,因为CentOs6默认的yum源没有 libmcrypt-devel这个包,只能借助epel的yum源,所以先安装epel,再安装libmcrypt。方法二:报错内容:configure: error: mcryp.原创 2020-07-21 10:27:58 · 1612 阅读 · 0 评论 -
linux环境配置nginx服务访问PHP文件出现:File not found错误
出现File not found错误处理,分两种情况1、php-fpm找不到SCRIPT_FILENAME里执行的php文件2、php-fpm不能访问所执行的php,也就是权限问题第一种情况:更改配置文件nginx.conf location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index....原创 2020-07-17 17:14:07 · 9442 阅读 · 2 评论 -
Linux Centos环境下安装PHP
1. php下载以及安装下载:wgethttp://am1.php.net/distributions/php-7.3.2.tar.gz解压:tar -zxvfphp-7.3.2.tar.gz进入目录开始编译安装: ./configure --prefix=/opt/soft/php --enable-fpm 下面是直接把常用的扩展安装好,免得后面在一个一个安装(推荐) ./configure --prefix=/opt/sof...原创 2020-07-17 16:56:57 · 588 阅读 · 0 评论 -
新下载的THINKPHP5.1 框架,访问控制器出现 no input file specified.问题
今天新下载了ThinkPhp5.1框架,在官网下载了核心版,windows下配置了虚拟域名.直接访问域名能访问到index模块下的index控制器下的index方法 但是我输入完整链接之后却访问不到了,页面出现了 no input file specified.问题描述:tp5完整链接无法访问(不知道是不是版本的原因)解决方案: 找到项目根目录下的public目录 打开.htaccess默认如下图:我们在代码中index.php后面加上一个问号重新刷新,访问成功..原创 2020-07-02 15:16:21 · 337 阅读 · 0 评论 -
TortoiseSVN无法查看日志
问题:在修改文件后show log无法显示日志,上面的时间会自动在1970年和1970年间跳,而且设置不了时间。解决方法:1.编辑svnserve.conf,设置“anon-access=none”2.在authz中添加 [/]* = 即可转载 2015-07-18 11:13:22 · 1080 阅读 · 0 评论 -
svn服务器搭建
安装步骤如下:1、yum install subversion2、输入rpm -ql subversion查看安装位置,如下图: 我们知道svn在bin目录下生成了几个二进制文件。输入 svn --help可以查看svn的使用方法。3、创建svn版本库目录mkdir -p /var/svn/svnrepos原创 2015-05-26 13:51:17 · 385 阅读 · 0 评论 -
apache安装前常见错误:checking for pcre-config... false
apache常见错误总结:1、./configure报错Configuring Apache Portable Runtime library ...checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a bui转载 2015-05-05 22:17:17 · 22285 阅读 · 1 评论 -
configure: error: APR not found . Please read the documentation
编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Please read the documentation解决办法:1.下载所需软件包:wget http://archive.ap转载 2015-05-05 16:57:07 · 580 阅读 · 0 评论 -
linux rz sz
rz,sz是Linux/Unix同Windows进行ZModem文件传输的命令行工具。优点就是不用再开一个sftp工具登录上去上传下载文件。sz:将选定的文件发送(send)到本地机器rz:运行该命令会弹出一个文件选择窗口,从本地选择文件上传到Linux服务器安装命令:yum install lrzsz从服务端发送文件到客户端:sz filename转载 2015-04-29 10:25:53 · 666 阅读 · 0 评论 -
php apache服务配置
一、修改httpd.conf打开appserv的安装目录,找到httpd.conf文件,分别去掉下面两行文字前面的#号。 [plain] view plaincopy#LoadModule vhost_alias_module modules/mod_vhost_alias.so 去掉#意思是启用apache的虚拟主机功能。转载 2014-08-21 22:37:26 · 433 阅读 · 0 评论 -
apache错误:Internal Server Error
apache错误:Internal Server Error 想装一个bugfree,放到WEB根目录下,用.htaccess设置好了访问规则.然后用127.0.0.1/bugfree访问网页时,出现了错误提示,风开始以为是开发迅雷占用了80端口,改了端口还是出现同样的错误.Internal Server ErrorThe server encountered an转载 2014-08-21 22:32:42 · 624 阅读 · 0 评论