From owner-freebsd-questions@FreeBSD.ORG Tue Aug 6 14:54:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 06BDD81B for ; Tue, 6 Aug 2013 14:54:44 +0000 (UTC) (envelope-from mikel.king@gmail.com) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC64522BA for ; Tue, 6 Aug 2013 14:54:43 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id o19so1689707qap.6 for ; Tue, 06 Aug 2013 07:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=V0cr84oFcUO66p4FIvvZys9ejeuNlVyEMaXMCOoKLHc=; b=VVWw8sSTcfWZj9dGALBSJx4N/qQMsZ00WHTQGrpPJZIUcfMkQl9QfobEG790krYKUO SoL0neMz3OKai4p6gJYYkEgRQnomAD+hNDVo6ZSzCx5zpHCsC5/R4oypSQ3mhwFtGAP4 M4wfT3Rtaf9VMklnCKBH3Vkz1hqYGC5lFYK07Ve7Bhk6BqWBjab2UWEKksL5I+3n9Xh2 4T21ZTE0LSWzAAY97qwSCY5vEBx8f5U55ZCXIpPc6N+b8npD1ywYA80Ej3/j9N/wDDE8 ru8UcsNrdFMTe3DXgyE8QDLncnbVE/ZWptDJJmSUNCexv8CHbU4AYThot//dWLJRT9YO c9Cg== X-Received: by 10.49.127.196 with SMTP id ni4mr2363109qeb.5.1375800882172; Tue, 06 Aug 2013 07:54:42 -0700 (PDT) Received: from [172.16.1.223] (mail.olivent.com. [75.99.82.91]) by mx.google.com with ESMTPSA id g9sm4861044qaz.4.2013.08.06.07.54.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 07:54:40 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: php problems From: mikel king In-Reply-To: <52006E74.9080905@msen.com> Date: Tue, 6 Aug 2013 10:56:21 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <52006E74.9080905@msen.com> To: Mark Moellering X-Mailer: Apple Mail (2.1508) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Aug 2013 14:54:44 -0000 On Aug 5, 2013, at 11:33 PM, Mark Moellering wrote: > A few years ago (2011) I set up an email system for a small internet = based company. I used postfix with a mysql backend for virtual = accounts. I also set up apache to test a php based webmail front-end. > I set up several php scripts that would run from cron that would query = a database and look for new email account requests and then do a variety = of tasks to get everything set up properly. > After I left, someone else made modifications to the system and things = stopped working properly. A few months ago I was asked to try and get = things working again. >=20 > I discovered that all php scripts now generate a seg fault. >=20 > I tried a simple "hello world" type program > the actual code is : > echo "test" > ?> > and the output was; >=20 > testsegmentation fault >=20 > The system is FreeBSD 8.2 and php 5.3 >=20 > If anyone has any idea of what changes might have been made that could = cause this, please let me know. My other thought was to try = reinstalling / upgrading php. >=20 > Thanks in advance >=20 > Mark Moellering > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" Hey Mark, Do you have a backup/alternative system you can test the code on? In = lieu of that I would seriously consider rebuilding php. After you get it = working it would be worth also considering upgrading to 55. Also make a complete revision backup of the code and config files once = you get it working, this will save a lot of hair if the company in = question hires someone else to tweak things in the future=85=20 Cheers, Mikel=