01 2013 档案
摘要:在http://pecl.php.net/package/pecl_http下载我下的是1.7.4稳定版wget http://pecl.php.net/get/pecl_http-1.7.4.tgztar zxvf pecl_http-1.7.4.tgzcd pecl_http-1.7.4phpize./configure --with-php-config=/usr/local/php/bin/php-configmake && make install然后更改/usr/local/php/etc/php.ini,加上extension = "http.so&qu
阅读全文
摘要:今天有个朋友过来问brophp一个问题,因为本地没有apache环境,重现错误nginx下404,结果发现需要在nginx.conf下配置一下。把location ~ .*\.(php|php5)?${ try_files $uri =404; fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fcgi.conf;}改成location ~.*\.(php|php5)($|/){ fastcgi_pass unix:/tmp/php-cgi.sock; ...
阅读全文
摘要:比较知名的就是twitter bootstraphttp://twitter.github.com/bootstrap/国内需要支持IE6的话https://github.com/empowering-communities/Bootstrap-IE6还有http://html5boilerplate.com/http://960.gs/http://foundation.zurb.com/http://ckrack.github.com/fbootstrapp/ 这个也是仿bootstrap的,类facebook的UIhttp://www.kendoui.com/http://addyosm
阅读全文
摘要:如果安装的是军哥的lnmp的话,只需要加一个rewrite:在/usr/local/nginx/conf目录创建个ci.conf,代码是:location / { if ($request_uri ~* ^/system) { rewrite ^/(.*)$ /index.php?/$1 last; break; } if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?/$1 last; ...
阅读全文
浙公网安备 33010602011771号