PHP
bazingaedward
天行酒歌,信义天下
展开
-
PHP system函数无法调用ncl命令解决方法
这里NCL指的是由NCAR Command Language,NCL官网,主要用于气象数据的处理核显示,总体上类似于MATLAB。 但如果想在PHP代码中直接调用ncl代码是不行的,因为“$NCARG_ROOT”这个环境变量没有指定,解决方法是在PHP 调用system命令前插入变量: putenv('NCARG_ROOT=/path/to/your/ncl');就可以了。原创 2015-01-17 19:36:09 · 890 阅读 · 0 评论 -
Drupal 性能优化[翻译自《Pro Drupal 7 Development》]
drupal 调整禁用不需要的模块,特别是“Devel” 匿名访问页面缓存:“Configuration”->”Performance” 中设置 压缩CSS,JS文件节省带宽: “Configuration”->”Performance” 中设置 启用syslog模块: syslog这个模块是Drupal的一个核心模块,默认是关闭的,它可以使用PHP的syslog()函数调用watchdog()给操翻译 2015-07-03 23:22:07 · 637 阅读 · 0 评论 -
PHP Composer :安装流程
原文链接IntroductionPHP Composer is a package management system for PHP which prevents users from having to “reinvent the wheel” when it comes to commonly-used website components like user authentication o转载 2017-08-18 13:42:37 · 373 阅读 · 0 评论