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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"