会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
eastdoor
博客园
首页
新随笔
联系
管理
订阅
2016年2月23日
laravel在*nix 下安装及创建项目
摘要: #curl -sS https://getcomposer.org/installer | php #mv composer.phar /usr/local/bin/composer #composer global require "laravel/installer=~1.1" 然后修改PATH
阅读全文
posted @ 2016-02-23 17:32 eastdoor
阅读(123)
评论(0)
推荐(0)
编辑
2016年2月18日
linux下给文件排序的方法
摘要: 现列举几种: ls -l | awk '{print $5,$9}' | sort -nr wc -c *.php | awk '{print $0}' | sort -nr
阅读全文
posted @ 2016-02-18 11:48 eastdoor
阅读(422)
评论(0)
推荐(0)
编辑
2016年2月17日
linux下直接执行PHP脚本
摘要: #!/opt/lampp/bin/php <?php echo "test\n"; ./test.php [root@bogon wwwroot]# ./test.php test [root@bogon wwwroot]#
阅读全文
posted @ 2016-02-17 18:06 eastdoor
阅读(325)
评论(0)
推荐(0)
编辑
2016年2月16日
linux 下PHP使用多语言
摘要: 首先确保安装了php扩展gettext,然后根据编辑生成po文件default.po。 在php工作目录下进入locale/zh_CN/LC_MESSAGES目录。 格式如下: msgid "" msgstr "" "Project-Id-Version: gst-time.HEAD\n" "POT
阅读全文
posted @ 2016-02-16 15:59 eastdoor
阅读(188)
评论(0)
推荐(0)
编辑
公告