You are here: PEAR Install in PHP 4.1.1 « PHP Programming Language « IT news, forums, messages
PEAR Install in PHP 4.1.1

Posted by Mike on 12/19/05 21:56

WinXP Pro SP2
PHP 4.1.1 from php.net
Installed on D:\php\

I have tried several times to install PEAR in PHP 4.1.1. I keep getting an error and I am not
proficient enough to be able to fixit myself.

After I installed php 4.1.1 I executed go-pear.bat. I took all of the defaults. Then I
double-clicked on the .reg file. When I execute pear.bat I get the following error.

PHP_PEAR_INSTALL_DIR is not set correctly.
pearcmd.php could not be found there.
Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:

When looking at the pear.bat file it has

@ECHO OFF

REM ----------------------------------------------------------------------
REM PHP version 5
REM ----------------------------------------------------------------------
REM Copyright (c) 1997-2004 The PHP Group

Why is a 5.0 pear.bat file in php 4.1.1? Could that be causing the error as I understand the dir
layout for php 4 and 5 is different?

Assistance is greatly appreciated. Thanks in advance.

Mike

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация