09 2013 档案
cherokee +php fastcgi 出现 No input file specified 故障一例
摘要:在arch上编译cherokee 时用的--with-wwwroot=/srv/http。在建立虚拟服务器时,只要虚拟服务器的根目录位于/srv/http下,php页面都能正确运行。但只要将拟服务器的根目录挪出/srv/http,比如放在/var/www,访问PHP页面就会出现No input file specified 错误。但奇怪的是另一台Ubuntu服务器上就不会有这种错误。在Cherokee的管理页面上折腾了很久,未果。转到Cherokee日志中查看,发现一条报open_basedir相关的错误。然后打开php.ini,发现 :open_basedir = /srv/http/:/h 阅读全文
posted @ 2013-09-09 16:45 玛瑙河 阅读(553) 评论(0) 推荐(0)
ubuntu下从源码编译安装cherokee
摘要:1 apt-get install automake autoconf libtool rrdtool libpam0g-dev libssl-dev libgeoip-dev libldap2-dev libmyqlclient-dev libffms2-dev 2 3 git clone --recursive http://github.com/cherokee/webserver.git 4 5 cd webserver 6 7 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-... 阅读全文
posted @ 2013-09-08 10:47 玛瑙河 阅读(749) 评论(0) 推荐(0)