[support] development and production environments

Ari Davidow aridavidow at gmail.com
Mon Jan 26 14:37:48 UTC 2009


The most usual cause of this would be settings that have to be
customized for the specific server--you often need a different
.htaccess file, for instance, and you will usually be using different
databases on dev, stage, production.

If that has been accounted for, the next thing to look at is whether
or not there are odd differences in the way php is configured on each
server that might trip you up, or different MySQL versions (least
likely to matter, in most cases).

As someone else posted, logs are your friends. Which log is indicating
what is wrong (in this case, make sure that you are getting both
database and php error logging, not just drupal).

ari

On Mon, Jan 26, 2009 at 1:20 AM, cooper Quintin <cooperq at cooperq.com> wrote:
> Repost, because nobody replied the first time, hopefully someone on here
> has some idea about this:
>
> Hello All,
> I am trying to set up an already live drupal site with a development,
> testing and production (live) environment.  I started by checking all
> the code and a mysqldump into a subversion repository.  I then began to
> set up a development environment on the same server that the live site
> was running on.  I got everything set up (development database, vhost,
> etc.) and went to the development site, it worked fine but after running
> for about 1 or 2 minutes it crashed the server.  I restarted the server
> and left it running just fine for a while, then I tried visiting the
> development site again with the same results. (Spectacular crash).  I
> tried setting up a dev environment on my local computer and the same
> exact thing happened.  I find this to be incredibly strange since the
> live site runs perfect on the same exact server, with the same exact
> settings.  Has anyone else run into this problem or have any ideas what
> could be causing it?  I was pondering that it could be memcached but
> then that shouldn't have caused a problem running solo on my box.  I
> have included some pertinent information below.
> Thanks,
>
> -- Cooper Quintin Freelance Programmer, Indymedia Journalist
> http://CooperQ.com (510) 827-5382 P.S. Here is the pertinent info for
> the server: Server OS: CentOS 5 Drupal Version: 5.15 php 5.2.8 apache
> 2.2.3 mysql 5.0.45 memcached 1.2.5
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list