Installing any PELC package fail

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Installing any PELC package fail

Postby masdeeper » 30. June 2010 10:39

Hi,

I'm trying to install PELC package within the XAMPP shell with the command :
Code: Select all
pecl install package name
With all the packages I get the same error :

Code: Select all
WARNING: php_bin C:\xampp\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix does not match
ERROR: The DSP pecl_http.dsp does not exist.



I need to install pecl_http.


Thanks
masdeeper
 
Posts: 2
Joined: 30. June 2010 10:30

Re: Installing any PELC package fail

Postby JonB » 30. June 2010 17:10

You DO know that this is a WINDOWS environment, right?

So there is no 'shell' as you would think of it in the *nix world. THUS shell commands don't work. (other than some that happen, by accident, to have the same name for the executable)

The Windows concept of a shell is the CMD command line interface, and all you can do there is manipulate things with Windows command line actions. In fact that is the way XAMPP works - everything is run through batch files that starts/stops processes/services. (ditto WAMP). All there is in the Windows world of executables is exe's (executables) and dll's (dynamic link libraries -- extensions for executables).

read this explanation about 'make/build' also:
viewtopic.php?f=16&t=41029

Here's a good explanation of the realtionship between Windows and PHP extensions: (its even dead-on to your issue :shock: )

http://php.net/manual/en/install.pecl.windows.php

Good Luck
:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Installing any PELC package fail

Postby masdeeper » 01. July 2010 15:30

I succesfully installed PEAR extensions within the Xampp Windows shell.

So I'm not sure why PELC extensions don't compile.

Maybe we should do a bug report... ?

Instead, I strated coding with cURL


Thanks
masdeeper
 
Posts: 2
Joined: 30. June 2010 10:30

Re: Installing any PELC package fail

Postby JonB » 01. July 2010 20:21

One, err. Three more times -

THERE IS NO COMPILER FOR C BUILT INTO WINDOWS --
THERE IS NO COMPILER FOR C BUILT INTO WINDOWS --
THERE IS NO COMPILER FOR C BUILT INTO WINDOWS --

YOU have to install one and learn it...

Other than that, Good Luck with your projects

:roll:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Installing any PELC package fail

Postby aalmeidadc » 26. July 2010 21:15

Try "pear config-set php_suffix .exe"
aalmeidadc
 
Posts: 1
Joined: 26. July 2010 21:01


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 31 guests