Archive for the ‘DH空间’ Category

[Dreamhost] 设置fastcgi+custom_php.ini环境

Tuesday, July 22nd, 2008

最近由于使用到Zend Framework中的部分代码,于是要在dreamhost上配置自己的php.ini, 并且在其中的include_path中加入你的Zend路径.

关于fastcgi我在以前已经配置过, 其实设置php5的fastcgi模式很简单, 可以参考dreamhost的wiki:

http://wiki.dreamhost.com/PHP_FastCGI –>请留意其中关于custom php.ini 部分.

我就是后来配置custom php.ini时没有主要到这个.导致无法work的.

下面说一下,配置custom php.ini. 首先,参考dreamhost的wiki:

http://wiki.dreamhost.com/Custom_PHP.ini

按照上面wiki的步骤, 一一完成. 很简单. 请注意.为了实现fastcgi模式, 请先不要去写 ~/your.com/.htaccess.

因为上面wiki上的是普通cgi模式.

如果你已经配置过fastcgi模式, 那么接下来很简答, 只要修改~/your.com/.htaccess,

#!/bin/sh
export PHPRC=/home/username/your.com/cgi-bin
export PHP_FCGI_CHILDREN=2
exec /home/username/your.com/cgi-bin/php.cgi

如果还没有配置fastcgi模式,那么参考上面的wiki,配置fastcgi. 同时注意,~/your.com/.htaccess,为上面的内容,即可.

这样.你就可以修改~/your.com/cgi-bin/php.ini的include_path,还有上传文件大小的限制等等. 哈哈.很爽吧.

最后, 提示一下,由于在fastcgi下一些php.cgi进程没有退出, 你的配置可能还没有生效. 那么, 干掉他们.哈哈

killall -9 php.cgi.

哈哈. 开始享受你的配置吧.

收到dreamhost关于blingy cluster问题的道歉信.

Wednesday, April 9th, 2008


具体内容如下(略去无关部分), 请dreamhost在blingy cluster的xdjm仔细看看.:)

##########################################
0. Introduction.

I just wanted to start out by apologizing for the March 2008 DreamHost
newsletter being SO LATE! I’m sorry, I don’t think it’s ever been THIS
late before, and that’s not just because this is the ONLY March 2008
there’s ever been.

I just want to continue by apologizing for that joke. I’m sorry, I
shouldn’t even call it a joke, because I’ve heard jokes are supposed to
be funny, or at least make you think. You see, I was trying to make
something humorous of the fact that you probably thought I was referring
to DreamHost newsletters in general, and not the March 2008 one in
specifics. However, I’ve yet to really see somebody in real life laugh
in response to one of those-style “jokes”, so I’m not sure why I would
have thought reading it in a boring email from your boring web host
would elicit any better response.

I’m sorry. I didn’t mean to over-analyze that thing to death. I think
that in itself was yet another pitiful attempt to be funny, and I really
regret even trying it.

##########################################
1. Apologies for Blingies.

In sticking with this month’s budding newsletter theme, I’d like to
start out (again) with an apology for the last several weeks of
performance problems to everybody who’s on our Blingy cluster. If you
haven’t already jumped ship after all the site and email slowness and
inactivity, you have my deepest admiration.

At least now we finally seem to have things under control, and hopefully
for good. I’m sorry it’s taken so long, and if it’s any consolation,
here’s all the gory details of what happened and “why”:

http://blog.dreamhost.com/2008/04/07/another-anatomy/

Also note, if you’re on Blingy (you can tell by going to our panel and
clicking “Account Status” and looking at “Your Email Server”), and would
like to get a full month’s credit, all you need to do is contact support
via our panel and submit a request with the subject “Blingy Account
Credit” and we’ll automatically give you the credit next Monday (April
14th).

I’m really really really really really really really really really
really really really really really really really really really really
really sorry.

………………………………………………….
##########################################
So much to atone for,
Josh Jones

P.S. Is it too late to apologize? Too late to apologize? Tooo late?! Too
laaaaaaaayyyyyyyyyyyte? Then, please unsubscribe here:

https://panel.dreamhost.com/id/?tab=contact

Dreamhost的blingy cluster问题

Tuesday, April 1st, 2008

这个问题虽然还没有解决, 但是ping值已经有所好转, 一下是dreamhost的最新声明.

Update April 1, 2008

We seem to be ahead of the curve right now, we are moving data off the primary volume and on to a secondary one faster than new data is being uploaded. The volume hasn’t filled up completely in a few days. We are working closely with the technical support team to see how we can speed up the process further. Thank you for your patience.

希望尽快修复, 原问题声明连接: Filer problems with blingy cluster.

关于Dreamhost的ping值

Monday, March 31st, 2008

ping: rocbot.com
 location                  result               min. rrt  avg. rrt  max. rrt 
 Santa Clara, U.S.A.       Okay                     13.4      13.6      13.9 
 Vancouver, Canada         Okay                     30.9      32.2      40.3 
 Florida, U.S.A.           Okay                     52.7      52.9      53.1 
 Amsterdam3, Netherlands   Okay                    142.5     142.6     142.8 
 New York, U.S.A.          Okay                     72.4      72.6      72.9 
 Amsterdam2, Netherlands   Okay                    154.3     154.5     154.7 
 San Francisco, U.S.A.     Okay                     10.0      10.4      10.6 
 Sydney, Australia         Okay                    159.2     159.3     159.7 
 Austin2, U.S.A.           Okay                    112.1     112.2     112.4 
 Hong Kong, China          Okay                    215.9     218.9     228.7 
 Austin, U.S.A.            Okay                    112.1     112.2     112.5 
 Stockholm, Sweden         Okay                    170.4     170.4     170.5 
 London, United Kingdom    Okay                    147.9     148.4     149.0 
 Kraków, Poland            Okay                    172.5     173.5     181.1 
 Madrid, Spain             Okay                    180.1     180.6     182.0 
 Cologne, Germany          Okay                    152.7     152.7     152.8 
 Munchen, Germany          Okay                    159.7     160.0     160.4 
 Paris, France             Okay                    155.5     156.1     156.8 
 Cagliari, Italy           Okay                    206.0     206.2     206.5 
 Amsterdam, Netherlands    Okay                    182.7     184.2     186.6 
 Singapore, Singapore      Okay                    195.9     211.2     241.7 
 Melbourne, Australia      Okay                    172.6     173.6     175.0 
 Copenhagen, Denmark       Okay                    163.3     163.8     165.9 
 Lille, France             Okay                    169.3     171.6     176.4 
 Porto Alegre, Brazil      Okay                    187.0     187.9     189.2 
 Shanghai, China           Okay                    479.0     491.9     504.9 

难道是greate fire wall 导致的?? 

Dreamhost支持wordpress 2.5 one-click installer.

Sunday, March 30th, 2008

最近由于一直关注我所在cluster blingy的问题, 所以每天都要去 dreamhoststatus.com去看看.

今天发现, Dreamhost已经支持wordpress 2.5的one click installer. :)  原文请到在 这里.

您可以在goodies > one click installs > Upgrade or remove previously installed software - Advanced mode 来升级.