Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2005 23:11:05 +0100
From:      Riemer Palstra <riemer@palstra.com>
To:        Jose Borquez <bsdlists@sbcglobal.net>
Cc:        FreeBSD Questions group <freebsd-questions@freebsd.org>
Subject:   Re: PHP startup error in Apache error log
Message-ID:  <20051218221105.GA37456@p3.a152.palstra.com>
In-Reply-To: <43A5DBA1.3030001@sbcglobal.net>
References:  <43A5DBA1.3030001@sbcglobal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 &quot;/usr/local/lib/php/20050922-debug/mysql.so&quot; 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?
 
-- 
Riemer Palstra		     		      Amsterdam, The Netherlands
riemer@palstra.com				 http://www.palstra.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051218221105.GA37456>