Posts tagged dreamhost
Are you looking to create a website and have your own webhost? It is very simple but the first step is to find a dependable webhost company. We tried over 10 webhost companies (Servage, GoDaddy, Hostmonster, Blue host and may more) in the past 8 years and found the most affordable and dependable was DreamHost
There is nothing to loose you always have your 97 days money back grantee but further if you use our promo coupon you can take 90 USD OFF just use promotional discount coupon code:
Below is a table comparing popular webhosts and any hidden limtations they have. If you have updates to this please comment.
|Price Promo 1yr||$107.4-90=$17.4 /first year||Adhoc 5.95$x12=$71.4||$6.64×12=$79.68|
|Host Unlmited Domains||Yes||Yes||Yes|
|Hosting Space||Unlimited||“Unlimited” but if high your account will be suspended||150GB|
|SSH Access||By Default||Need to send ID||Can be requested no ID needed|
|CPU Limit||No Limitation||60Sec then Site suspended||No Limitation|
|First Yr Domain Registration Free||Yes||Yes||No|
|Tech Support||Chat, Email Ticket system(response time: 1-24hours),Phone: only call back||Phone, Chat, Ticket(Response time 1-24 Hours)||Phone,Ticket(slow 1 Day response time)|
|Install Custom PHP||Yes Simple see article here||No||No|
|Max File Upload Size||7MB, unlimited with Custom PHP install||2MB, can be increased with copying php to all folders, still limited with CPU time limit||7MB|
|Can host Adult Content||Yes||No||Yes|
|Loading speed for a 64kb website size||2-3 Seconds performance is stable since dreamhost upgraded to new servers||2-3 Seconds, performance was stable||5-6 Seconds|
|Midnight Commander||Installed by default||Not installed and can not install it||Not sure|
This article is a slightly modified article from a great blog post at www.bluesunray.com about how to have our own php.ini with dreamhost.Thank you for your work:
0-Set up your domain for FastCGI (usually it is the case by default)
Login your Dreamhost, enter Manage Domains, Edit your domain setup, in Web Options->PHP mode, select ‘PHP 5 FastCGI’
- Download DreamHost Custom PHP.ini from DeamHost Scripts and Tips. Or attached here as of today dh-phpini
- Extract the dh-phpini.php from dh-phpini.zip and upload it to you website root.
- Open dh-phpini.php in you browse. Example: http://www.yoursite.com/dh-phpini.php.
- Then, this result shows,
- After install, this script create ‘cgi-bin’ folder in you website root, including ‘php.ini’ files in the folder, and add this lines in you .htaccess file, if they are not there already:
AddHandler fastcgi-script fcg fcgi fpl
AddHandler php-fastcgi .php
Action php-fastcgi /cgi-bin/dispatch.fcgi
6. Default, the Max upload file size increase to 20M, if you want to change to more, edit php.ini file in ‘cgi-bin’ folder like this,
post_max_size = 50M
upload_max_filesize = 50M
7.For changes to the new php.ini file to take effect , you’ll probably need to restart FastCGI for them to take effect.
Unfortunately you can’t do this from the Dreamhost Control Panel. You need to log in via SSH, and issue the command “killall -9 php5.cgi” to restart FastCGI.