FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Home » Shell Scripting »  Custom PHP.ini with FastCGI on DreamHost

Custom PHP.ini with FastCGI on DreamHost

by Charles Torvalds comment

[hide]

This details the saga of why php.ini is not allowed with FastCGI


Message from DreamHost

Message from support. (Dec 5th, 2006 - 13:19:43 / #9393533)

Hello,I'm really sorry but I had to disable the sites you had running underuser $USER because that was the only way I could keep the associatedprocesses from restarting themselves and making the server unstable.Please do not run these sites with a persistent php.cgi process with aphp.ini file as an argument. This is causing problems on the server andwe need to keep the server from crashing and thus impacting the otherusers who share the server.Thanks!Terri

Message from you

MY ENTIRE ROOT FOLDER GOT MOVED (Dec 5th, 2006 - 13:26:16 / #1624411)

I did a backup of my wordpress database on askapache.com, downloadedthe file to my computer, and then when I tried to go to another pageit started saying 404 error / not found.I logged in with my shell account and there was a new folder in myroot folder $HOME called disabled-sitesNormally all my webroots are in a folder in that same dir calledsites.I looked inside both folders and all of my sites/* had been moved toa folder disabled-sites/* and then I tried to move them back to mysites folder and I got kicked from the connection! Now I can't loginwith shell or ftp my whole business is down??!!

Message from DreamHost

Re: MY ENTIRE ROOT FOLDER GOT MOVED (Dec 5th, 2006 - 13:48:52 / #9393703)

Hello,As I've notified you before, your sites as you are running them,daemonized, is impacting the performance of the server to the point wherestability is a concern. Please do not run the sites so they are taking aphp.ini as an argument or I will be forced to disable these sitespermanently.Thanks!Terri

Message from you

RE: MY ENTIRE ROOT FOLDER GOT MOVED (Dec 5th, 2006 - 14:09:33 / #1624483)

Hello,As I've notified you before, your sites as you are running them, daemonized,is impacting the performance of the server to the point where stability is aconcern. Please do not run the sites so they are taking a php.ini as anargument or I will be forced to disable these sites permanently.Thanks!Terri

Why the threats? That is so not cool! I sent that message to the SECURITYsupport BEFORE I got your email... Before I knew that my entire account wasbeing taken offline. I happened to be logged into the server whilesomeone was MOVING all of my files to a different folder, I thought I wasunder attack! I had NO IDEA that using a custom php.ini with myfast-cgi'd php.cgi would cause any harm.. I was just following theinstructions on the wiki and using the fast-cgi option in the control panel.Now I am really panicking because you are saying that you will disable allmy sites permanently? I mean it is going to take some time to manually gointo each and every one of my domains and change them to not use fastcgi.And I have a few questions about what exactly is not allowed, but I don'twant to waste time asking if there is a chance my whole account will bebanned!*deep breaths*I very quickly went through and disabled the FAST-CGI php5-wrapper.fcgiwrapper that was wrapping the /dh/local/php5.cgi in the fast-cgi.. but can Iuse a custom php.ini If I am not using fast-cgi? I am really worried.Thanks,askApache

Message from DreamHost

RE: MY ENTIRE ROOT FOLDER GOT MOVED (Dec 5th, 2006 - 14:33:19 / #9394272)

The bottom line is we cannot support anything, whether it is in the wikior not, if it is damaging the server. I appreciate the steps you've takento help take the server load down. It could be that launching ALL of yourwebsites in this manner was what was hurting the machine.We really cannot encourage the use of custom php.ini due to the securityimplications. Please keep in mind that if you do decide to move forwardwith the custom php.ini's, that we do reserve the right to disableanything that is hurting the server due to high load or securitycompromise.Thank you for your patience and understanding!Terri

  1. http://wordpress.org/support/topic/105043
  2. http://jayallen.org/journey/2006/10/dreamhost_movable_type_and_fastcgi
  3. http://automatthias.wordpress.com/2006/12/01/django-on-dreamhost-incomplete-headers/
  4. http://forum.textdrive.com/viewtopic.php?id=1614

February 22nd, 2007

Comments Welcome

My Online Tools
Twitter

  • askapache: RT @sixrevisions: Google Chrome's latest version performs page loads +5% faster -  t.co/uCftxWqYhB 
  • askapache:  t.co/C91g6Ra3Uf  - coreboot has been accepted to participate in Google Summer of Code, 2013
  • askapache: Today in 1965 DEC announces PDP-8
  • hubail: RT @askapache: Make sure you unplug your Ethernet when leaving the room, or disable wifi
  • askapache: Make sure you unplug your Ethernet when leaving the room, or disable wifi
  • askapache: My servers, and me, are getting annoyed. Fail2ban works fairly well against all the Chinese brute forcing going on
  • askapache: Can't the Chinese stop ordering their hackers to hack us? Ugh
  • askapache: All I want for my bday is a bottle of American whiskey :)
  • askapache: The first Dino fossil wasn't found until 1822, we sure are young

My Picks

Related Articles
Newest Posts

WordPress Development
Hacking and Hackers

The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean someone who loves to program, someone who enjoys playful cleverness, or the combination of the two. See my article, On Hacking.
-- Richard M. Stallman






It's very simple - you read the protocol and write the code. -Bill Joy

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

Site Map | Contact Webmaster | License and Disclaimer | Terms of Service

↑ TOPMain