Hi all
I wan't to run Ampache (http://ampache.org) on my FSG-3 but get some PHP-PEAR errors
I've made the wiki for the FSG-3 http://wiki.openwrt.org/toh/freecom/fsg-3 and it is currently running: ATTITUDE ADJUSTMENT (bleeding edge, r30755)
I've installed Apache, MySQL and PHP successfully.
moved the Ampache Files to /usr/share/htdocs/ampache and run the installation of ampache sucessfully.
http://my-router-ip:81/ampache/test.php <-- shows all green and working
But when i Start ampache after the installation, with http://my-router-ip:81/ampache/ i get an error
Fatal error: Class 'PEAR' not found in /usr/share/htdocs/ampache/modules/pearxmlrpc/rpc.php on line 42
if (!function_exists('xml_parser_create')) {
include_once 'PEAR.php';
PEAR::loadExtension('xml');
}
I have installed also the pear packages
root@OpenWrt:/# opkg list-installed | grep pear
php-pear - 1.5.4-1
php-pear-db - 1.7.11-1
php-pear-xmlrpc - 1.5.1-1
I've searched the net for some instructions to get the pear working,
http://pear.php.net/manual/en/installation.checking.php <-- looks like my problem
and it looks there are some missing/wrong lines in the /etc/php.ini
; Paths and Directories
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
but i don't know how to find out the include path of the pear install.
to modify the php.ini to get ampache properly working
can't find the System.php file on my System to find the PEAR's php_dir.
so I need a little bit help on this topic
Where is the PEAR's php_dir
and where i have to change the php_dir include_path