Hello,

Slightly offtopic but the info on OpenBSD w. FastCGI is very scarce, so I hope someone can help me out here.

I have succesfully got php5 (cli-fastcgi) / suexec / mod_fastcgi setup on the default chrooted httpd.
Should I now be able to just add php extensions with pkg_add?

pkg_add -v php5-mysql goes fine, but my php5-fcgi binary can't find it, although it is actually there.

[Wed Jul 11 18:34:07 2007] [warn] FastCGI: (dynamic) server "/cgi-bin/10.0.0.64/php5.fcgi" (uid 1000, gid 1000) started (pid 20781) PHP Warning: PHP Startup: Unable to load dynamic library '/var/www/lib/php/modules/mysql.so' - File not found in Unknown on line 0

Removing the suexec does make a difference. Am I overlooking some chroot behaviour here?
Or am I supposed to compile mysql and the likes into the php binary itself?

Any help is appreciated.

Thank you,

Matt

Reply via email to