So I assumed that DreamHost used apache mod_php for PHP (as is the standard for most hosts), since they didn’t say anything about PHP being run as CGI on the features page, you can understand my surprise when I read in the wiki after registering that PHP is run as CGI.
What would I have to do to get my scripts that were developed using PHP (and based on CodeIgniter) that also use sqlite(3) working correctly on DreamHost?
I’m used to php as mod_php, I have no clue on how different it is from this implementation.
My last host also had sqlite pre-installed, I have no clue of where to start with installing and configuring it to how I had it.
I’ve tried reading the wiki but it provides no information on what I’m after, it simply states that PHP is ran as CGI and gives no information on how it’s different from what users may be used to. I have no clue of what the SQLite wiki is talking about.
So can someone give me some instructions on how to get it all set up? I’m hoping that hosting my work will require little to no modifications to the scripts themselves to get them to work on dreamhost servers as they’re mostly fairly old and it’ll be a nightmare if there’s much I have to change in my code to get it all to work.
Also when I searched the forums to see if this or something similar has already been explained, I came across a post with someone saying that the $GLOBALS variable in php has been or will be disabled on dreamhost - is this true? One of my most recent scripts uses it in a lot of places (at the start of the script it reads the app’s configuration from a file then sets them to a key in $GLOBALS so that they don’t get overwritten or anything by my careless variable naming)
Thanks in advance
 So by uploading all my stuff (took ~2 hours and still not all sorted out but ohwell) I’ve found that most of my stuff is working fine, except for: http://scripts.powerindesign.com/heat/ . For some reason CI returns 404 not found, no matter what. I think it might have something to do with my .htaccess because it’s only for the codeigniter app that stuff is being quirky(so far), it was fine before i set up the scripts.powerindesign.com subdomain and I’ve read a lot of people having .htaccess/mod_rewrite problems on the forums.
My .htaccess file in http://scripts.powerindesign.com/heat/ :
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]