You are not logged in.

#1 2012-01-21 13:20:21

devadittya
Member
From: Bangalore
Registered: 2009-11-16
Posts: 127
Website

[SOLVED] Installing PHP ID3

I need the id3_get_tag php function. As I understand, I had to install pear first.

I did this"

$ wget http://pear.php.net/go-pear.phar
$ php go-pear.phar

It asks for any change in locations - I choose none (default).

I get this:

PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/home/devadittya/webserver/public_html) in phar://go-pear.phar/System.php on line 291
PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/home/devadittya/webserver/public_html) in phar://go-pear.phar/System.php on line 291
PHP Warning:  file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/home/devadittya/webserver/public_html) in phar://go-pear.phar/System.php on line 291
PHP Warning:  is_writeable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/home/devadittya/webserver/public_html) in phar://go-pear.phar/System.php on line 298
Unable to create Binaries directory /usr/bin.
Run this script as root or pick another location.

I am running as root. Any suggestions?

Solved by compiling from source (fairly easy).Instructions here:
http://www.zipservers.com/community/sho … s-on-Linux

Last edited by devadittya (2012-01-21 13:52:32)

Offline

Board footer

Powered by FluxBB