require_once(PEAR.php) [function.require-once] install error

edited November 2010 in Installation
hello all,

the following install error is shown:

Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web3/html/lib/common.php on line 73

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.') in /var/www/web3/html/lib/common.php on line 73

what must i do ?

thx in advance best regards

Comments

  • @baraber can I have some more info about your hosting setup, and the output of
    php -v
    php -m
  • @jordanc

    Hostigplan includes:

    Mysql 5.0, PHP 5, Perl, Phyton, SSI (Server Side Includes)

    what do you mean with
    php -v
    php -m ?

  • @baraber those are the command line commands to get more info on your php version and the modules that are enabled.
    If you don't have command line access just make a page on your server called something like phpinfo.php containing the following
    <?php
    phpinfo();
    ?>

    To tell me what php modules you have enabled.
  • @jordanc this says the phpinfo:

    PHP Version 5.2.12-0.dotdeb.0

    System Linux server31.campusspeicher.de 2.6.18-028stab070.5 #1 SMP Fri Sep 17 15:37:23 MSD 2010 i686
    Build Date Jan 6 2010 14:29:16
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /etc/php5/apache2
    Loaded Configuration File /etc/php5/apache2/php.ini
    Scan this dir for additional .ini files /etc/php5/apache2/conf.d
    additional .ini files parsed /etc/php5/apache2/conf.d/curl.ini, /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/imap.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
    PHP API 20041225
    PHP Extension 20060613
    Zend Extension 220060519
    Debug Build no
    Thread Safety disabled
    Zend Memory Manager enabled
    IPv6 Support enabled
    Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed
  • @baraber Ok, now can you give me the extensions?
    <?php
    get_loaded_extensions();
    ?>
  • ...hmmm sorry if I load that like the phpinfo...nothing happens...

    what shall I do now ?

  • @baraber whoops, try
    <?php
    print_r(get_loaded_extensions());
    ?>
  • edited November 2010
    Thats the result:

    Array ( [0] => date [1] => libxml [2] => openssl [3] => pcre [4] => zlib [5] => bcmath [6] => bz2 [7] => calendar [8] => ctype [9] => dba [10] => dbase [11] => dom [12] => hash [13] => filter [14] => ftp [15] => gettext [16] => session [17] => iconv [18] => json [19] => mbstring [20] => mime_magic [21] => posix [22] => Reflection [23] => standard [24] => shmop [25] => SimpleXML [26] => SPL [27] => soap [28] => sockets [29] => exif [30] => sysvmsg [31] => sysvsem [32] => sysvshm [33] => tokenizer [34] => wddx [35] => xml [36] => xmlreader [37] => xmlwriter [38] => zip [39] => apache2handler [40] => curl [41] => gd [42] => imap [43] => mcrypt [44] => mysql [45] => mysqli [46] => PDO [47] => pdo_mysql [48] => Zend Optimizer )

    what do u think now ?
  • @baraber does your host have pear support?
  • edited November 2010
    @jordanc i don´t know. How can I find it out ? How must the safe mode be set ? on or off ?

  • @baraber what host are you using? Are you running this on your own computer or on a web hosting service?
  • @jordanc at first I run it on my computer but the reason why I go online on a hosting is that it was not possible for me to write something in a group, which is shown by clicking the group link, so I thought it doesn´t work properly on the local computer.
    Tell, are ALL FUNCTIONS are given on an XAMPP installation ? Is it possible to copy the finished and customized site 1:1 to the online host ?

    Thx very much for spending time to help me
    tony
  • edited November 2010
    @baraber theoretically you can get it working on a local install then do a db dump, and take your config.php edit the values of the config.php to match the hosts values then import your db onto the host and run the updateprofileurl.php and updateavatarurl.php scripts to fixup any broken links.
    Also you can take a look at this http://status.net/wiki/InstallationWindows for a pretty in depth guide to a windows install
  • Hi,

    I know the same problem but with the version 1.0.1 :

    Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/share/php/PEAR.php) is not within the allowed path(s): (/home/xxxx/:/home/yyyy/shared/) in /home/xxxx/web/statusnet/lib/framework.php on line 75

    Warning: require_once(/usr/share/php/PEAR.php) [function.require-once]: failed to open stream: Operation not permitted in /home/xxxx/web/statusnet/lib/framework.php on line 75

    Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/share/php:/usr/share/pear:/home/xxxx/web/statusnet/extlib/') in /home/xxxx/web/statusnet/lib/framework.php on line 75


    Warning: require_once(/usr/share/php/PEAR.php) [function.require-once]: failed to open stream: Operation not permitted in /home/xxxx/web/statusnet/lib/framework.php on line 75

    Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/share/php:/usr/share/pear:/home/xxxx/web/statusnet/extlib/') in /home/xxxx/web/statusnet/lib/framework.php on line 75
  • My PHP Version : 5.3.13-1~dotdeb.0

    For others informations, I can send the url to my PHP configuration by private message.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID