Extra DLL's for PHP?
Posted by: Vordreller (---.206-246-81.adsl-dyn.isp.belgacom.be)
Date: July 25, 2009 06:55PM

I remember using an older version of Wamp which had some extra DLL's for PHP.
For instance, the http.dll file, which allowed me to send HTTP requests to sites and get the response into variable.

Now upgrading to 5.3.0 and I see this DLL is gone. Does anyone know where to find stuff like this?

I looked up the function I used and came across this: [be2.php.net]

It seems that PECL is needed, yet I have no experience in working with that.
Is PECL enabled by default in Wamp? If so, do I need to do extra stuff to make this work?

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 25, 2009 07:08PM

PECL is the repository for PHP extensions. Go to pecl.php.net to get extra extensions for PHP.

NOTE: The make sure you download the extensions that is compatible with the version of PHP you're using.

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.206-246-81.adsl-dyn.isp.belgacom.be)
Date: July 26, 2009 01:09AM

The problem is that none of these sites contain any DLL's at all.

They have .tgz files and that's it. I can't do anything with .tgz files on Windows.

And the site [pecl4win.php.net] seems to be down for the moment.

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: yfastud (Moderator)
Date: July 26, 2009 01:20AM

use any zip program such as 7zip, winrar.... to extract those tgz file

Have fun,

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

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.206-246-81.adsl-dyn.isp.belgacom.be)
Date: July 26, 2009 01:49AM

yfastud Wrote:
-------------------------------------------------------
> use any zip program such as 7zip, winrar.... to
> extract those tgz file


I've downloaded several of these files and they all contain .tar files. Windows cannot work with .tar files, only Linux can.

And as far as I'm aware, WAMP is a product that can only be run on Windows.

Are you seriously suggesting I add a .tar file to my extensions directory and add the line of code "extension=pecl_http.tar" to my php.ini file... ON WINDOWS?
I'm honestly expecting the php.exe executable to crash.

TAR -> Linux
DLL -> Windows

That's how it's always worked and neither can work with the other, why would it suddenly be different?

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: toumimi (---.114.116-78.rev.gaoland.net)
Date: July 26, 2009 02:00AM

You should have a look at this : [www.fileinfo.com]
Things are not always what they seem winking smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: yfastud (Moderator)
Date: July 26, 2009 04:52AM

tgz file is archive file just like zip file or rar file, and after extraction, you will get the real file inside that archive file, and it would be dll file as well as some other files, and as mentioned, you can use winzip, winrar, 7zip or similar zip program to extract tgz file

Have fun,

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

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.207-240-81.adsl-dyn.isp.belgacom.be)
Date: July 26, 2009 11:21PM

toumimi Wrote:
-------------------------------------------------------
> You should have a look at this :
> [www.fileinfo.com]
> Things are not always what they seem winking smiley


I know what archives are. I've been doing web development and computer programming for several years now. I know what tgz, 7z, zip, rar and all the other archive filetypes are and I know which programs can open them.

And I am telling you, there are no DLL files inside the.TAR files. None whatsoever.
Nothing
Niks
Rien
Keine

THERE ARE NO DLL FILES INSIDE THE TAR ARCHIVES

Why is that so hard to understand? I'm not saying that Windows can't open TAR archives.

I AM SAYING THAT THE WINDOWS PHP EXECUTABLE CANNOT INTERPRET THEM THE SAME WAY 7-ZIP DOES!!!



Edited 2 time(s). Last edit at 07/26/2009 11:21PM by Vordreller.

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.207-240-81.adsl-dyn.isp.belgacom.be)
Date: July 26, 2009 11:29PM

Sorry, another post, I kindof solved my problem.

On this very site, you can download older versions of PHP to be installed next to the WAMP install you already have.

Can someone please explain why there are more DLL's in the "ext" folders of the older versions, than there are in the one for PHP 5.3.0 ?

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: toumimi (---.114.116-78.rev.gaoland.net)
Date: July 26, 2009 11:56PM

Quote

Windows cannot work with .tar files, only Linux can
Quote

TAR -> Linux
DLL -> Windows

YOU SAID TAR=LINUX AND DLL=WINDOWS !!
DLL IS A LIBRARY FOR WINDOWS AND TAR IS AN ARCHIVE FORMAT WHICH CAN CONTAIN DLL FILES !!
PHP FOR WINDOWS USE .DLL FILES AND IT USES .SO FILES FOR LINUX
IS THAT TOO HARD TO UNDERSTAND ??

WE ARE TRYING TO HELP YOU SO PLEASE DON'T USE UPPERCASE ANYMORE !



Now to answer you, I can give you another link : [php.net]
Quote

Extract from the PHP 5.3 changelog :

Moved extensions to PECL (Derick, Lukas, Pierre, Scott):
* ext/dbase
* ext/fbsql
* ext/fdf
* ext/ncurses
* ext/mhash (BC layer is now entirely within ext/hash)
* ext/ming
* ext/msql
* ext/sybase (not maintained anymore, sybase_ct has to be used instead)

And to answer to your first question, another link : [www.php.net]
Quote

A DLL for this PECL extension is currently unavailable

So you find a solution and we are happy for you cool smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.207-240-81.adsl-dyn.isp.belgacom.be)
Date: July 27, 2009 12:09AM

"TAR IS AN ARCHIVE FORMAT WHICH CAN CONTAIN DLL FILES !!"

They CAN, but they DON'T. I can't believe you keep claiming this. Why would a Linux-oriented website even bother to make a DLL.

Also, I use uppercase because I am extremely frustrated. It's all good and well that you are trying to help, but your claims that TAR files might contain DLL files drives me to madness. I've downloaded and opened numerous of these files and non contain DLL files.


If any contain them at all, it's a vast minority. And if you happen to know one, than that is an exception.

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: toumimi (---.114.116-78.rev.gaoland.net)
Date: July 27, 2009 12:28AM

I never told you those tar contain dll files but they can, since there are archive format.
I agree that it can be strange since it's basically a linux archive format but i'm not wrong if I tell it can.

And more, no dll is currently available for this PECL extension, so you won't find any dll in those tar files.

You are frustrated, explain us simply ! Note that we can understand what you are saying, and better if you don't use uppercase or repeat things twice !!

Never mind, did my previous post answered your question ?

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.207-240-81.adsl-dyn.isp.belgacom.be)
Date: July 27, 2009 12:31AM

"And more, no dll is currently available for this PECL extension".

It would seem that no DLL is available for any of the PECL extensions...

If also find it odd that no DLL is available now, but it can be found in older versions.

The PHP 5.2.9-2 addon for WAMP found on this site, contains the DLL I'm looking for.

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: July 27, 2009 12:34AM

no ur wrong . the PECL makers rewrite each dll for each new version..
of php
they dont have them for 5.3



you can try use 5.2's but at ur own risk

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.207-240-81.adsl-dyn.isp.belgacom.be)
Date: July 27, 2009 12:40AM

stevenmartin99 Wrote:
-------------------------------------------------------
> no ur wrong . the PECL makers rewrite each
> dll for each new version..
> of php
> they dont have them for 5.3

I so-just downloaded and opened the last 5 releases of the HTTP PECL extensions. I checked every folder of every one of them, and not a single one has a DLL file in it.


Yet, the not-so-old versions of WAMP do have them.

If the PECL makers do write the DLL's themselves, and these DLL's are not contained within the TAR files, than where are they?

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: toumimi (---.114.116-78.rev.gaoland.net)
Date: July 27, 2009 12:44AM

These are not built !
There are .so files to use under Linux (oh no. again !)

If you want you can make your own dll by compiling so extension, but documentation is not good..
I never did that, but if you have no time, I wish you pleasure winking smiley

EDIT :
Quote

If you have developed an extension for your own uses, you might want to think about hosting it on PECL so that others with the same needs can benefit from your time. A nice side effect is that you give them a good chance to give you feedback, (hopefully) thanks, bug reports and even fixes/patches. Before you submit your extension for hosting on PECL, please read [pecl.php.net].

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com



Edited 1 time(s). Last edit at 07/27/2009 12:47AM by toumimi.

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: Vordreller (---.207-240-81.adsl-dyn.isp.belgacom.be)
Date: July 27, 2009 12:48AM

Wow, seriously, I know Linux users usually hate windows, but this is really inconsiderate. This is basically saying "We don't care about windows" from the creators of PHP.

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: toumimi (---.114.116-78.rev.gaoland.net)
Date: July 27, 2009 12:50AM

This is basically developped for linux, and they allow us to use it on windows by developing a separate software VC9, VC6 (thread safe and not) and by re-building all extensions into a dll file, but you're right, they should hate windows user...

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Extra DLL's for PHP?
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: July 27, 2009 01:01AM

like i said- they used to build the extentions for windows users. but have not anymore.


so when u downlaod the tgz extract it twice and then ul need to compile(build) them youreself.


they rewrite/ modify these all the time (soucre code) and no one seems to have built them for windows with the release of 1.6 so windows users have none now

the older ones are probably ok to use ... but not guarneteed

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.