I'm getting this error & I understand that I need to symlink some file
inside the chroot (/var/www) area but I'm not sure which file to be
exact. I search previous misc@ archive but they seem a bit confusing.

Warning: dl() [function.dl]: Unable to load dynamic library
'/var/www/lib/php/modules/mysql.so' - File not found in
/mysite/mediawiki/install-utils.inc on line 17
Could not load MySQL driver! Please compile php --with-mysql or
install the mysql.so module.

Here are the necessary packages installed -

# ls /var/db/pkg |grep php
php5-core-5.1.4p1
php5-gd-5.1.4
php5-mysql-5.1.4

I noticed that if I get out of chroot mode mediawiki works fine. That
is, if I do

# apachectl stop
# httpd -u
# apachectl start

it works fine

I have "/var/www/var/run/mysql/" owned by _mysql:daemon.

Any kind of help would be appreciated.

Reply via email to