From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 09:43:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71C65106564A for ; Wed, 20 Oct 2010 09:43:08 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 291ED8FC08 for ; Wed, 20 Oct 2010 09:43:06 +0000 (UTC) Received: by qyk30 with SMTP id 30so2467010qyk.13 for ; Wed, 20 Oct 2010 02:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=XRrO3NyZOAHJoW7X2WupQC2fIF2D0Wh2ykCxMy0Lcn8=; b=Un4dOyaaRJdIFkmzIEgApw4h+o7ajtHOI/rRDxTKNQWGpCjoFBOlfVoaCwWvSkW8wL /P6xUH1RlQUbTKRBeQOKXohOvkH2YoJ/UJEMJ5RqzNPVD30XPb51+LChYUiiE6vG0M2Z FYC7RbhTwPHpdG1As+e5UL3vCyJCsbxchlpcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=vCNnmVf6BLz4w9j+iUUiEMlnjiICSP9bgx2kLAQaXlgvgg/82gpFpUozVqqldL1Oi0 HgMTkxz7rattP9AsCvYnKZH/yhapym/a+AZuqyqHLRp/2s4u4s11K+3vtY+kqdv/xUrk l+Z5Z6dJyh7KrHVx+a/0rV/7VQQyq4bRrHrck= Received: by 10.229.97.3 with SMTP id j3mr6219622qcn.233.1287567786387; Wed, 20 Oct 2010 02:43:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.102.13 with HTTP; Wed, 20 Oct 2010 02:42:36 -0700 (PDT) In-Reply-To: References: <20101019033104.GA19320@thought.org> From: Odhiambo Washington Date: Wed, 20 Oct 2010 12:42:36 +0300 Message-ID: To: Alejandro Imass Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Gary Kline , FreeBSD Mailing List Subject: Re: need help with php. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 09:43:08 -0000 On Wed, Oct 20, 2010 at 5:34 AM, Alejandro Imass wrote: > On Mon, Oct 18, 2010 at 11:31 PM, Gary Kline wrote: > > > > Ok, I've done everything I can think of and still my php5 fails. > > Several pages use a php counter [[that I wrote years ago. That is > > the main thing that is busted. Anybody up to helping me with this > > one? > > > > Did you happen to upgrade to 5.3? It breaks a lot of code that used to > run finr in 5.2. If you did upgrade, try downgrading to 5.2, it will > we a pain though, use portmaster if possible IMO. > Downgrading from 5.3 to 5.2 wasn't quite a pain, unless I missed something. 1. pkg_delete -f php5-\* 2. rm -rf /usr/local/lib/php/* 3. cp /dev/null /usr/local/etc/php/extensions.ini 4. cd /usr/ports/lang/php52 && make config && make install clean 5. cd /usr/ports/lang/php52-extensions 6. pkgdb -F 7. apachectl configtest 8. /usr/local/etc/rc.d/apache22 stop && /usr/local/etc/rc.d/apache22 start 9. less /var/log/httpd-error.log - check for any clues that apache might be affected. 10. ps ax | grep httpd -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!!