Date: Sun, 18 Dec 2005 14:44:25 -0800 From: Jose Borquez <bsdlists@sbcglobal.net> To: Riemer Palstra <riemer@palstra.com> Cc: FreeBSD Questions group <freebsd-questions@freebsd.org> Subject: Re: [Bulk] Re: PHP startup error in Apache error log Message-ID: <43A5E649.9070202@sbcglobal.net> In-Reply-To: <20051218221105.GA37456@p3.a152.palstra.com> References: <43A5DBA1.3030001@sbcglobal.net> <20051218221105.GA37456@p3.a152.palstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A5E649.9070202>