To use custom PHP.ini on DreamhostPS or Dreamhost VPS, I did a lot of research. Actually search, or Google.
When I working on the Dreamhost Virtual hosting, I get the answer from Wiki of Dreamhost. But there are not enough information of PS on it.
The best answer from Google is here, from Dreamhost Scripts and Tips.
Gallery 3 has a module named as Gallery2 Import.
After installed the Gallery 3, it is an empty photo gallery. So I need to import all my existing albums into it.
Firstly, enabled the Gallery 2 import module.
I use png format picture file sometimes. It is OK when I upload the file into MovableType platform. I choose make thumbnail to 400px width from about 700px.
Perl ImageMagick engine will create thumbnail file. The blog software will generate html code and put into editor body.
Everything looks find. But the file size of thumbnail png is bigger than original png file.
Original png file: 700X505 49KB
Thumbnail png file: 400X288 78KB
Why is it bigger?
I have an website which is hosted on Dreamhost.
I has a script to convert video from any formats to flv file, which can be played as flash video.
When I look at the error which made is shown as below.
ffmpeg unknown encoder mp3
It looks like mp3 audio is not supported by ffmpeg on Dreamhost. I think it is supported when I first write this script.
I checked the support history under Dreamhost control panel. The log said the account is moved to a new server last month. It may make something different.
OK. I google it and got the answer
The previous post I wrote explain why 500 internal error happen when MovableType publishing.
At the last, I promise that I will tell you how to solve this problem without upgrading your sharing host to VPS.
KEY point: The 120MB memory limit is per user.
If you know that, the answer is simple.
In one Dreamhost account, you can create many, many users. So Create a new user for Movabletype powered blog.
Because my blog is hosted on Dreamhost, the limitation of shared account is always bothering me.
About one or half years ago, any time I rebuild this blog, 500 internal error came out. I have to try a lot of time to rebuild, maybe 10% success.
I have no idea how to solve this problem. Previously I knew Dreamhost has CPU time limit. Later, they remove this limit. But they did have some limitation for shared account.
The following is the response from Dreamhost support.
It’s being killed for requesting an amount of RAM (memory) that puts the
total usage for the account over the limit:
2010-08-05 10:58:17 procwatch2 INFO: Process(pid=28759, name=’mt.cgi’,
uid=davidyin(1659020), tty=None, cpu=49.7, rss=52068.0, vsize=102664.0):
kill for total RAM
That’s from the process monitoring logs. It’s likely the amount of data
it’s needing to do its job isn’t the problem, but your total usage is so
close to the limit, that’s puts it over. In fact, you’ve got more than 10
thousand kills in the logs, so this is not an isolated occurrence. Your
total usage is hitting the RAM limit very often, so it’s possible one or
more of your sites has a bit of high usage, and needs to be addressed to
reduce the occurrence of this. This article may help you track down
what’s using the most memory:
During the past 6 months, all trackbacks are spams. To save the resource of my server, I disable the trackback service sitewide.
I hope to see the CPU and Memory usage drop in the future.
There are still some problem of MovableType on Dreamhost.
Dreamhost is good. I use it for many small sites. But right now, I fell it is more restrict on memory usage. Any time I publish one post, 500 error comes. If rebuild site, situation worse.
I will keep watch it and see if it is getting better. Or I may transfer to VPS.
I have a small site hosted on Dreamhost.
Yslow Score with default setting is C, or 77.
Later I do the following optimization to increase it to B, or 89. Based on Yslow v2 test.
The key is to change .htaccess file.
Put following content into .htaccess file on root of the site.
The scenario is I have a blog powered by Movabletype. All html files. Later I need it to be running like a php file. Then I can add php codes inside without changing extension name from html to php.
I’d like to keep the URL. The blog is about five years old.
Two years ago, I add the following into .htaccess file, which is from Let php engine handle html as php. RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
It works very well until last week.
I got the error like ask me save the file or not. It is not return the correct php or html file.
Today, I upgraded about 5 sites through Dreamhost One-Click installation facility.
It is simply to me to upgrade them.
I click upgrade, and sit to wait the confirm email.
Only do something when I get the confirmation of finish upgrading.
No hands wet. No uploading, downloading.
The program I used through Dreamhost One-Click installation are WordPress, Gallery, phpBB, and Joomla!.