Ubuntu 10.04 LTS Perfect Server PEAR.php problem

Discussion in 'HOWTO-Related Questions' started by Hagforce, Jun 3, 2011.

  1. Hagforce

    Hagforce New Member


    I have a application that requires PEAR.php
    And I get this error in log:
    [warn] [client xxx.xx.50.23] mod_fcgid: stderr: PHP Fatal error:
    >> require_once(): Failed opening required 'PEAR.php'
    >> (include_path='.:/usr/share/php:/usr/share/pear') in

    What may be the problem here.
    I have followed the how to carefully, and double checked. :confused:
  2. Hagforce

    Hagforce New Member

    Bumping this...
    Anybody been through this before? :(
  3. pititis

    pititis Member

    Try with apt-get install php-pear


    apt-get purge php-pear; apt-get install php-pear

  4. maumar

    maumar Member HowtoForge Supporter

    debian 6.0.3
    pear is under /usr/share/php
    but in vhost file i see:
    php_admin_value open_basedir /var/www/clients/client4/web9/web:/var/www/clients/client4/web9/tmp:/var/www/xxxxxx/web:/srv/www/xxxxxx/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
    relevat is: :/usr/share/php5:

    can i change default location?
    instead of /usr/share/php5 i would have /usr/share/php
  5. falko

    falko Super Moderator ISPConfig Developer

    You can change it or add /usr/share/php.
  6. maumar

    maumar Member HowtoForge Supporter

    i post onto ispconfig 3 b/c is an ispconfig question
    till answered me
    sorry for crossposting
    thnx anyway

Share This Page