From owner-freebsd-ports@FreeBSD.ORG Thu Nov 30 09:07:36 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06BF016A47E for ; Thu, 30 Nov 2006 09:07:35 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55AA143CA6 for ; Thu, 30 Nov 2006 09:07:28 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1860616uge for ; Thu, 30 Nov 2006 01:07:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WNjAHSQuM92gIMSeShZC6IS+rQZvLPsJk/H+Ns/4qrhMbFtmBTZ/p3gtnblvt6frO8P0opLLKnwFfG4uxofOQT/DuCzw7vufgkAAM/cvKbufap4qhb//oPc6P4I120h6ArLdGOvsQa6B54lNXCWevVKXSBdqVSybyojcCzrzd9M= Received: by 10.78.146.11 with SMTP id t11mr3352680hud.1164877653175; Thu, 30 Nov 2006 01:07:33 -0800 (PST) Received: by 10.78.167.16 with HTTP; Thu, 30 Nov 2006 01:07:33 -0800 (PST) Message-ID: Date: Thu, 30 Nov 2006 12:07:33 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Dmitry Pryanishnikov" In-Reply-To: <20061130103911.E14131@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061130103911.E14131@atlantis.atlantis.dp.ua> X-Google-Sender-Auth: bfa8433e859c710d Cc: ports@freebsd.org Subject: Re: apache + php + mysql startup order X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 09:07:36 -0000 On 11/30/06, Dmitry Pryanishnikov wrote: > > Hello! > > I'm trying to write an automated rc.d-script that should > check MySQL database before it's used by the > Apache+PHP hosting. If I were you, I'd make my php scripts handle temporary db outages. Don't forget that most hosting providers have web and sql servers on separate machines.