php 5.2.0... go boom!

Riemer Palstra riemer at palstra.com
Wed Nov 8 16:57:16 UTC 2006


On Wed, Nov 08, 2006 at 09:26:19AM -0600, Jonathan Horne wrote:
> PHP Warning:  PHP Startup: Unable to load dynamic 
> library '/usr/local/lib/php/20060613/pdo.so' - Cannot open
> "/usr/local/lib/php/20060613/pdo.so" in Unknown on line 0
> 
> i need to figure out what extension that belongs to, and hopefully rebuild it.  
> that will probably solve my problem.

Err. pdo.so is /usr/ports/databases/pecl-PDO. I haven't got that one to
build yet against PHP 5.2.0:

/usr/ports/databases/pecl-PDO/work/PDO-1.0.3/pdo.c: In function
`php_pdo_get_exception_base':
/usr/ports/databases/pecl-PDO/work/PDO-1.0.3/pdo.c:78: error: too few
arguments to function `zend_exception_get_default'

Are you actually using PDO (for MySQL, ODBC, PostgreSQL, SQLite etc)? If
not, you might just want to comment it out of your
/usr/local/etc/php/extensions.ini.

-- 
Riemer Palstra		     		      Amsterdam, The Netherlands
riemer at palstra.com				 http://www.palstra.com/


More information about the freebsd-questions mailing list