From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 22:44:28 2005 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 203D516A41F for ; Sun, 18 Dec 2005 22:44:28 +0000 (GMT) (envelope-from bsdlists@sbcglobal.net) Received: from smtp110.sbc.mail.mud.yahoo.com (smtp110.sbc.mail.mud.yahoo.com [68.142.198.209]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A39443D5E for ; Sun, 18 Dec 2005 22:44:27 +0000 (GMT) (envelope-from bsdlists@sbcglobal.net) Received: (qmail 96027 invoked from network); 18 Dec 2005 22:44:26 -0000 Received: from unknown (HELO ?127.0.0.1?) (calartstech@sbcglobal.net@68.127.38.82 with plain) by smtp110.sbc.mail.mud.yahoo.com with SMTP; 18 Dec 2005 22:44:26 -0000 Message-ID: <43A5E649.9070202@sbcglobal.net> Date: Sun, 18 Dec 2005 14:44:25 -0800 From: Jose Borquez User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Riemer Palstra References: <43A5DBA1.3030001@sbcglobal.net> <20051218221105.GA37456@p3.a152.palstra.com> In-Reply-To: <20051218221105.GA37456@p3.a152.palstra.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions group Subject: Re: [Bulk] Re: PHP startup error in Apache error log 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: Sun, 18 Dec 2005 22:44:28 -0000 Riemer Palstra wrote: >On Sun, Dec 18, 2005 at 01:58:57PM -0800, Jose Borquez wrote: > > >>I am running FreeBSD 5.4 with Apache+mod_ssl 1.3.34, >>mysql-server-5.0.16, mysql-client-5.0.16, php5-5.1.1, and >>php5-mysql-5.1.1. I see the following error messages every time I >>attempt to access a php page: >> >>PHP Warning: PHP Startup: Unable to load dynamic library >>'/usr/local/lib/php/20050922-debug/mysql.so' - Cannot open "/usr/local/lib/php/20050922-debug/mysql.so" in Unknown on line 0 >> >> > >That's quite strange actually. What's the contents of your >/usr/local/etc/php/extensions.ini, and what does the extension_dir >directive in your /usr/local/etc/php.ini say? > >My installation of Apache 2.2.0 and PHP 5.1.1 just takes the mysql.so >from /usr/local/lib/php/20050922/mysql.so - did you specify any extra >debugging options at compile time? > > > The contents of my extensions.ini file are: extension=mysql.so ; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" It looks like that is commented out. I am assuming I need to uncomment this as well as extension=msql.so in the Dynamic Extensions section below. Am I correct? ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; ; ; If you wish to have an extension loaded automatically, use the following ; syntax: ; ; extension=modulename.extension ; ; For example, on Windows: ; ; extension=msql.dll ; ; ... or under UNIX: ; ; extension=msql.so