PEAR Install Error /timetrex/interface/install/install.php

Ask your questions regarding TimeTrex installation here.
Locked
socialdyn
Posts: 1
Joined: Tue Oct 07, 2008 11:05 am

PEAR Install Error /timetrex/interface/install/install.php

Post by socialdyn »

We are getting a install error on our server

Code: Select all

PHP's PEAR package is not installed. TimeTrex requires PEAR to be installed.
On most Linux distributions installing the php-pear package is enough.
This is our Server Config:
  • RedHat 5
    PEAR ver 1.4.9
    Pleask 8.6
    Php 5.1
Working Directory
/usr/share/pear

Binary Directory for Pear
/usr/bin/pear

How can we reslove this issue. Is there a config file we need to tell your script where pear is located or what else do we need to make install work correctly.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

PEAR not being installed is a PHP issue, not a TimeTrex issue. Its PHP that is saying it can't find PEAR. So your pear installation wasn't done correctly, or you didn't restart your web server after you installed it.

Check your PHP.INI file, and your PEAR installation documentation to see how to properly configure PHP to find PEAR. Its different for every Linux distribution.
Locked