Where is pear.ini?
Posted by: phpilyo (124.6.142.---)
Date: March 25, 2008 09:04AM

hi guys. m newbie using wampserver. i am trying to install PEAR by double-clicking go-pear.bat in my d:\wamp\bin\php\php5.2.5 folder.

the problem i am encountering is it's being asked for the path of my pear.ini. i can't see any pear.ini anywhere in the wamp folder nor in my c:\windows directory

any ideas guys?

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: toivo (---.belrs4.nsw.optusnet.com.au)
Date: March 25, 2008 09:08AM

Hi,

Go to the DOS command prompt, change directory to where go-pear.bat is and run it from the command line. That works all right.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: phpilyo (203.177.145.---)
Date: March 25, 2008 09:30AM

hi toivo, thanks for the reply.

i just did that and i've been asked about some config paths:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\rbermudez.DELEGAIT.COM>d:

D:\>cd wamp\bin\php\php5.2.5

D:\wamp\bin\php\php5.2.5>go-pear

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :

Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.

1. Installation base ($prefix) : D:\wamp\bin\php\php5.2.5
2. Temporary directory for processing : D:\wamp\bin\php\php5.2.5\tmp
3. Temporary directory for downloads : D:\wamp\bin\php\php5.2.5\tmp
4. Binaries directory : D:\wamp\bin\php\php5.2.5
5. PHP code directory ($php_dir) : D:\wamp\bin\php\php5.2.5\pear
6. Documentation directory : D:\wamp\bin\php\php5.2.5\pear\docs
7. Data directory : D:\wamp\bin\php\php5.2.5\pear\data
8. Tests directory : D:\wamp\bin\php\php5.2.5\pear\tests
9. Name of configuration file : D:\myxampp\xampp\php\pear.ini
10. Path to CLI php.exe :

1-10, 'all' or Enter to continue:

the problem is #9. i don't have that path anymore. what should i put?

also #10. what path shall i put?

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: toivo (---.belrs4.nsw.optusnet.com.au)
Date: March 25, 2008 10:41AM

Hi,

Looks like you have made good progress. You would not be able to run XAMPP at the same time as WAMP, I think, in which case you can just accept the default in #9.

The php.exe file which runs the Command Line Interface (CLI) scripts is in the folder c:\wamp\bin\php\php5.2.5.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: yfastud (Moderator)
Date: March 25, 2008 11:04PM

Have seen a lot of people had hard time to get wamp running properly after used and even uninstalled xampp; you should check w/ them how to completely remove it before installing wamp

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: phpilyo (203.177.145.---)
Date: March 26, 2008 12:52AM

hi. thanks all for your replies.

i managed to install pear successfully using wampserver (yey!!!)

i just forgot that there were environment variables created by xampp when i tried to install PEAR in xampp. so i have to delete those in my registry using RegEdit. then i restarted my pc. then back to installing PEAR using go-pear.bat in the command prompt. everything went smoothly as i just keep on using the default values.

cheers.

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: yfastud (Moderator)
Date: March 26, 2008 01:48AM

Quote

i just forgot that there were environment variables created by xampp
can you post more detail about this since a lot of people had problem w/ this?

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: phpilyo (124.6.142.---)
Date: March 26, 2008 03:16AM

Click Start -> Run

Type regedit (the Win Registry Editor pops up)

doubleclick HKEY_CURRENT_USER

click Environment

in the right panel of the editor, you will see the environment variables xampp created. right-click the names created by xampp, then select Delete

close the editor, then restart.

important: be careful in deleting name-values here. if you delete a wrong name-value pair, your windows might fail.

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: yerg (---.lns4.mel6.internode.on.net)
Date: April 22, 2008 03:38AM

A couple of queries.

I'm trying to install an app which requires Pear and this thread was most helpful in getting that completed..

I've gone through the install process of Pear and all appears as it should ... I think.

Went back and completed a pre install check on the app and I'm told "Checking PEAR is installed: False" along with another 5 Pear modules giving the same message.

How do I check that when WAMP starts that it's loading Pear?
Any ideas why it's not loading?

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: toivo (---.nsw.bigpond.net.au)
Date: April 22, 2008 10:08AM

Hi,

You need to install the PEAR modules individually. Have a look at the instructions on my personal website at [toivo.talikka.com].

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: yerg (---.lns4.mel6.internode.on.net)
Date: April 22, 2008 02:39PM

Hmmm .. thought I'd done that

Will check out your site ... thanks muchly

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: pooja123 (---.186.236.106.dvois.com)
Date: May 04, 2017 09:48AM

Where is pear.ini file?

while installing pear i am
getting error
Beginning install...
PEAR_Config::writeConfigFile fopen('C:\Windows\pear.ini','w') failed (fopen(C:\W
indows\pear.ini): failed to open stream: Permission denied)



Edited 1 time(s). Last edit at 05/04/2017 09:50AM by pooja123.

Options: ReplyQuote
Re: Where is pear.ini?
Posted by: RiggsFolly (Moderator)
Date: May 04, 2017 10:19AM

Hi

Please start a new Thread.

This one is 9 (NINE) years old

Please also answer all these questions as part of your question READ (and answer) BEFORE YOU ASK A QUESTION

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, you can't reply to this topic. It has been closed.