Installation problem (PEAR)

Ask your questions regarding TimeTrex installation here.
Locked
PHi-Brynn
Posts: 4
Joined: Tue May 29, 2007 6:26 am

Installation problem (PEAR)

Post by PHi-Brynn »

I am currently running WAMP 5 1.7.1, which includes PHP 5.2.2, MySQL 5.0.37 & Apache 2.2.4.
When I try to run the install.php file I get the following message:
Warning: include(PEAR.php) [function.include]: failed to open stream: No such file or directory in F:\wamp\www\TimeTrex_Standard_Edition_v1.6.6\interface\install\install.php on line 58

Warning: include() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='.;C:\php5\pear') in F:\wamp\www\TimeTrex_Standard_Edition_v1.6.6\interface\install\install.php on line 58
PHP's PEAR package is not installed. TimeTrex requires PEAR to be installed.
On Windows PHP includes a file called go-pear.bat that you can use to install PEAR.

For installation support, please join our community forums or contact a TimeTrex support expert for Implementation Support Services.
I have run go-pear.bat, but I'm assuming 'Timetrex' can't find 'PEAR'
Can anyone help me with this, it would be greatly appreciated.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

C:\php5\pear
PHP is looking there for PEAR.php. Is that where it is located?

If not, you need to edit your PHP.ini file's:

include_path

setting to include the path where PEAR.php actually is.
PHi-Brynn
Posts: 4
Joined: Tue May 29, 2007 6:26 am

Post by PHi-Brynn »

Below is a portion of my php.ini file, have I changed it correctly?
Still getting the same errors...
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;f:\wamp\php\PEAR"
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

It looks correct, assuming that is the right path.

Does the installer work now?
PHi-Brynn
Posts: 4
Joined: Tue May 29, 2007 6:26 am

Post by PHi-Brynn »

Nope, it's still not working. What confuses me is the initial path, "c:/php5/pear". I don't know where the installer got that from, because it wasn't in my php.ini file????
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Do you have more then one php.ini file on your system, that could be why.
PHi-Brynn
Posts: 4
Joined: Tue May 29, 2007 6:26 am

Post by PHi-Brynn »

Did a search, can't find any other php.ini files. Very confused.... I'm suprised no one else has had this problem before....
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Ok, you will want to follow the example here:

http://ca.php.net/phpinfo

to make a PHP file that calls phpinfo();, this will tell you which php.ini is being used, and what your include_path is, so you can confirm with 100% confidence that it is correct.
Locked