| View previous topic :: View next topic |
| Author |
Message |
mmaru
Joined: 12 Jul 2008 Posts: 6
|
Posted: Wed Jul 16, 2008 2:42 am Post subject: go-pear on Windows XP |
|
|
I downloaded php and put the it in F:\webserver\php and configured php.ini. PHP works fine with Apache2.
When I try to install PEAR by issuing the go-pear on the command line one of the items on the list does not make sense:
12. Path to CLI php.exe : F:\webserver\php\.
It should have been(without the \.) :
12. Path to CLI php.exe : F:\webserver\php
I did not continue with the installation, because of the above issue.
Your help is very much appreciated.
Regards,
Maru |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1013
|
Posted: Wed Jul 16, 2008 4:14 pm Post subject: |
|
|
| What is your question? Weren't you able to change the wrong value? IIRC the PEAR installer shows you the auto-detected values and offers below the list a prompt that allows you to change every single values by entering its number. |
|
| Back to top |
|
 |
mmaru
Joined: 12 Jul 2008 Posts: 6
|
Posted: Thu Jul 17, 2008 1:44 am Post subject: |
|
|
I am unable to change the wrong value. When I get an error when I try to change it. I am not sure what to do.
I do need to use pear to install PHPUnit. Your help is very much appreciated.
Regards,
Maru |
|
| Back to top |
|
 |
mmaru
Joined: 12 Jul 2008 Posts: 6
|
Posted: Thu Jul 17, 2008 3:15 am Post subject: |
|
|
The error message is as follows:
**ERROR** : not a folder, or no php.exe found in this folder.
Press Enter to Continue.......
When I press enter I get the list again i.e. it does nothing.
Regards,
Maru |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1013
|
Posted: Thu Jul 17, 2008 7:50 am Post subject: |
|
|
| Do you get the error message directly when you try to change the value (i.e. before you have the chance to edit it) or after having changed the value? |
|
| Back to top |
|
 |
mmaru
Joined: 12 Jul 2008 Posts: 6
|
Posted: Fri Jul 18, 2008 1:40 am Post subject: |
|
|
Mark,
I must say thank you for trying to help me. I get the error message directly when you try to change the value (i.e. before you have the chance to edit it).
Regards,
Maru |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1013
|
Posted: Fri Jul 18, 2008 3:14 pm Post subject: |
|
|
| If you don't have a chance to change the value, I'd consider this as a bug. Please file a bug report on pear.php.net for the PEAR package. |
|
| Back to top |
|
 |
seeker
Joined: 08 Aug 2008 Posts: 2 Location: Cornwall
|
Posted: Fri Aug 08, 2008 6:23 pm Post subject: Try checking pear.ini |
|
|
Not sure if it will help you - but we found a stray coppy of pear.ini in the windows directory with the added part of the path in it.
We renamed the file and ran go-pear.bat again and it created a new one correctly - and completed the install...
HTH |
|
| Back to top |
|
 |
polobruce
Joined: 18 Sep 2008 Posts: 1
|
Posted: Thu Sep 18, 2008 11:26 pm Post subject: Found the issue |
|
|
| Not sure if it's really an issue but I noticed the same issue and it was because my class path setup in my environment variables was C:\PHP\ . I changed it to lower case c:\php\ and it looks like it's gonna work. |
|
| Back to top |
|
 |
|