现在新的Dreamhost用户的web环境使用的应该都是php5环境了
但是命令行模式下仍然使用的是php4的环境
如果你的脚本需要在php5环境下才能执行
用下面的方法强制使用php5即可
/usr/local/php5/bin/php test.php
Name (required)
Mail (will not be published) (required)
Website
没有评论▼