PHP startup error in Apache error log
Riemer Palstra
riemer at palstra.com
Sun Dec 18 14:11:33 PST 2005
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?
--
Riemer Palstra Amsterdam, The Netherlands
riemer at palstra.com http://www.palstra.com/
More information about the freebsd-questions
mailing list