12-07-2011, 02:17 PM
(12-07-2011, 12:59 AM)Daniel Wrote: Hi Uwe,
I tried the same yesterday and may be able to provide you more details.
Pear is not included with the Synology systems so it has to be installed trough ipkg. I did that yesterday, installed the log package within pear. I then changed the config file to include the directory where pear resides /opt/share/pear.
I get the same error as posted at the start of the thread, even if shows that /opt/share/pear is within the include path.
If i run this command, it will not show me the same include path, strange thing.
Code:php -i |grep include_path
How does LetoDMS look after the pear installation? Can this be managed separately to be configured during the installation?
php running as an apache module and the command line version of php may have a different include path, though it is rather unlikely. 'php -' may not report the right thing. You can also run a simple phpinfo(); in php-file accessed by your web server.
PHP doesn't look for a pear installation. It just checks all directories in the include_path, which usually contains the path to pear on your system. As a last resort, you can always set the include path in your
php.ini.
Uwe