Steve Judkins wrote:
[]
The issue may be particular to how PHP packages are installed on Ubuntu. It's been over 3 months since I tried it but I vaguely recall the problem was the directory where the php.ini was expecting the extension_dir to load plug-ins from. Ubuntu debian packages had moved around (cleaned up) where some of the plug-ins and their config.ini files are placed (e.g. /etc/php5/apache2/conf.d/). I couldn't get Virtuoso's hosted PHP to find them.

Beware. Ubuntu's php5 build is lacking the configure options:

                --enable-maintainer-zts \
                --with-tsrm-pthreads \

so attempting to use the standard system-wide PHP library with Virtuoso on Ubuntu is probably unwise.

From a quick inspection of their debian/rules file, I can see they move extension modules around the filesystem (mentions of
                --with-jpeg-dir=shared,/usr \
                --with-xpm-dir=shared,/usr/X11R6 \
                --with-png-dir=shared,/usr \
...)

However, when virtuoso starts, if it can't load a module listed in php.ini, it does tell you (in the virtuoso.log) what it was looking for. Example:

16:25:33 PHP Warning:  PHP Startup: Unable to load dynamic library 
'../hosting/php/apc.so' - ../hosting/php/apc.so: cannot open shared object 
file: No such file or directory in Unknown on line 0


HTH,

~Tim
--
Tim Haynes
Product Development Consultant
OpenLink Software
<http://www.openlinksw.com/>

Reply via email to