[Open Babel] - problem with PHP script

2016-03-19 Thread Muriel Keribin
Hello, I have a problem with the PHP script of Openbabel (I must use it for a project). I downloaded it from the git repository and I compile with php binding ($ cmake -DBUILD_GUI=FALSE -DCMAKE_INSTALL_PREFIX=/usr/local/openbabel -DRUN_SWIG=ON -DPHP_BINDINGS=ON .. ) The installation seems to work

Re: [Open Babel] - problem with PHP script

2016-03-19 Thread Muriel Keribin
Hi, I changed this enable_dl boolen in both /php5/apache2/php.ini and /php5/cli/php.ini . I obtained a more explicit message and I realised that the library called in the openbabel.php did not had the good name. I changed openbabel.so by openbabel-php.so (in the /usr/local/openbabel/lib/openbabel

Re: [Open Babel] - problem with PHP script

2016-03-18 Thread David Hall
Have you tried setting enable_dl to on? http://php.net/manual/en/info.configuration.php#ini.enable-dl Or adding it as an extension that is loaded when PHP starts? http://php.net/manual/en/ini.core.php#ini.extension Note, with either options, you probably need to restart the web server after ea