From owner-freebsd-questions@FreeBSD.ORG Thu Jul 6 20:17:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4209316A4E2 for ; Thu, 6 Jul 2006 20:17:01 +0000 (UTC) (envelope-from mike@ascendency.net) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.200.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D97143D45 for ; Thu, 6 Jul 2006 20:17:00 +0000 (GMT) (envelope-from mike@ascendency.net) Received: from eisenhower.ascendency.net ([67.173.128.145]) by comcast.net (sccrmhc14) with ESMTP id <20060706201658014004k7r7e>; Thu, 6 Jul 2006 20:16:59 +0000 Received: from Mike8500 ([192.168.1.5]) (authenticated bits=0) by eisenhower.ascendency.net (8.13.6/8.13.6) with ESMTP id k66KGlZ2009170 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 6 Jul 2006 15:16:48 -0500 (CDT) (envelope-from mike@ascendency.net) From: "Mike Loiterman" To: "'Skylar Thompson'" Date: Thu, 6 Jul 2006 15:16:54 -0500 Message-ID: <003301c6a139$261891b0$0501a8c0@Mike8500> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcahOIgVnnAV5/2JQT6BrHvdspLckAAAGZfQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <44AD6C48.9040001@cs.earlham.edu> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (eisenhower.ascendency.net [192.168.1.22]); Thu, 06 Jul 2006 15:16:58 -0500 (CDT) Cc: freebsd-questions@freebsd.org Subject: RE: php5-extentsions broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mike@ascendency.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 20:17:01 -0000 Skylar Thompson wrote: > Mike Loiterman wrote: >> After installing the php5-extensions port, I get lots of the >> following errors when trying to start Apache: >> >> PHP Warning: PHP Startup: U\x89\xe5WVS\x83\xec\x14\xe8: Unable to >> initialize module\nModule compiled with module API=20020429, debug=0, >> thread-safety=0\nPHP compiled with module API=20050922, debug=0, >> thread-safety=0\nThese options need to match\n in Unknown on line 0 >> >> Apache and php are working fine - I can get to the phpinfo page >> without problems. Its just that the extensions aren't being found >> for somereason. >> >> I have treid adding their location to the extensions_dir directive >> in php.ini with no luck. >> >> I have done a portupgrade rRfo lang/php5 php5 which should upgrade >> everything related to php5 and it does, but somehow the extension >> are not being found. >> >> Any ideas? >> > Is your extensions_dir variable set properly in php.ini? > > - Skylar Yes, I mentioned that in my original message. I think the problem was that I had debug turned off when I built php. For some reason, it needs to be on for some of my modules to work correctly. Others work fine with it off. Any ideas about this? ------------------------------ Mike Loiterman GrantAdler Tel: 630-302-4944 Fax: 773-442-0992 Email: mike@ascendency.net PGP Key: 0xD1B9D18E