DreamHost不再支持Run PHP as CGI
昨天写信去问:
I found the domain settings: “Run PHP as CGI” are removed and replace by “PHP5 or PHP4.4.2″, so what’s the difference between them?
I disabled “Run PHP as CGI” to avoid high CPU minutes, but I don’t know what is the new policy unpon the new options?
早上来看,回信如下:
Sorry about the confusion! All new domains added to the control panel (or ones you change settings for, like that) currently run as CGI. There’s no longer an option to choose PHP as an Apache module, so everything’s all CGI-upped.
We actually removed the Apache module feature as it turned out to be causing higher loads than the former. Go figure, huh?
由于PHP使用Apache Module运行,造成了负载很大,但又不算作CPU时间,所以取消了Apache module,以后所有的PHP都以CGI方式运行。
看来,想节约CPU时间,只能靠自己想办法了。
[2006-08]最新消息:
由于DH取消了CPU时间限制,所以理所当然PHP也可以运行在mod_php模式下了.
April 12th, 2006 at 12:53 pm
幸好原有站点不受影响。
August 13th, 2006 at 8:54 pm
再问问,dreamhost现在已经取消了CPU LIMIT, 能不能将PHP运行模式全部切换回到apache module模式?CGI模式反而使得很多基于pathinfo的应用无法运行了。
January 22nd, 2007 at 2:37 am
测试你的PHP能力
http://www.zymose.com/kaoshi/kaoti.php
May 10th, 2007 at 10:16 pm
不错~!