配置了一台新服务器,使用的是IIS + Fastcgi + PHP 5.3.X,访问php页面的时候就会报错“No input file specified” 在php.ini文件里面修改: 1.增加一行(这个最重要) fastcgi.impersonate = 1 2.修改两项(解开注释,这步看个人需要) cgi.fix_pathinfo=1cgi.force_redirect = 0…
有时候在提交的时候,中间提交出错,导致有文件被lock,所以会报下面的错误: fatal: Unable to create ‘/msg/.git/index.lock’: File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is…
一.错误描述 今天在使用AndroidStudio运行项目时出现了一个Unsupported method: AndroidProject.getPluginGeneration()错误,如下图所示: 二.解决办法 第一次遇到这个错误,上网找了一下解决办法,解决办法如下: 关掉instant run即可,如下图所示: 关掉[instant run]就可以解决上述所说的Unsupported method: AndroidProject.getPluginGeneration()错误,总感觉这种解…
解决办法很简单如下: 打开.htaccess 在RewriteRule 后面的index.php教程后面添加一个“?” 原来的代码如下 <IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]…
在Windows7上安装了Nginx+PHP,参考教程为 https://www.cnblogs.com/anlia/p/5916758.html 启动 nginx 后,在浏览器中输入localhost可以看到成功访问nginx的页面: 在html目录中添加了一个phpinfo.php文件,内容为: <?php phpinfo(); ?> 在浏览器中输入: localhost:/phpinfo.php 页面却显示: 后来意识到是 nginx 安装目录下的 conf/nginx.conf 文件配…
Xcode 'libxml/tree.h'file not found 错误解决办法…
PHP failed to ptrace(PEEKDATA) pid 13659: Input/output error错误解决方法 现在改linux内核文件打开限制<pre>ulimit -SHn 51200</pre> 再修改nginx.conf配置文件<pre>worker_rlimit_nofile 51200;</pre> 最后修改PHP-fpm.conf配置文件<pre>rlimit_files = 51200</pre>…
1. android_m2repository_r错误 问题描述: Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r**.zip and extract it to the C:\Users*\AppData\Local\Xamarin* Reason: C:\Users**\AppData\Local\Xamarin\zips\96659D6…
1. 编译时出现/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../libz.so when searching for -lz PLATFORM_VERSION_CODENAME=AOSPPLATFORM_VERSION=AOSPTARGET_PRODUCT=genericTARGET_BUILD_VARIANT=engTARGET_SIMULATOR=TARGET_BUILD_TYPE…
redis 安装与安装中遇到的错误 redis 安装 wget http://download.redis.io/releases/redis-4.0.11.tar.gz .tar.gz cd redis- make 启动服务端 src/redis-server 客户端连接与测试 src/redis-cli redis> set foo bar OK redis> get foo "bar" redis常用命令 redis-cli -h 指定远程登陆ip -p 指定远程re…