Hi Frederick,
There is no indication of a specific reason to use PHP 5.1.4, is there?
[JPL:] No, there is no reason. I can upgrade, no problem. Thanks a lot
for your help.
You only stated:
> Hi,
>
> I'm trying to download and test PHP/YAZ for Windows.
>
___________
The main PECL site itself (http://pecl.php.net/) has much good stuff,
but it
is LOUSY in structure, and I must be dumber than I thought, because I
cannot
locate the binaries package there for using along with PHP set-ups. The
built-in site-search and package-search just does me absolutely NO good.
(At
one point earlier in time, maybe a year or so ago, I seemed to have had
no
trouble.)
What you really want is a sub-set of the main site called PECL4Win:
http://pecl4win.php.net/
Then in the left menu, click on the "Branches" to take you to:
http://pecl4win.php.net/branch.php
Here you will find links to either individual extensions (dlls) or to
complete extension packages in zip format, corresponding to popularly
versions of PHP (including 5.1.4), for Win32. You only want to download
the
complete ("All") package, because otherwise you soon would discover that
dlls from various packages will become mismatched and will DEFINITELY
lead
to incompatibilities and failures. If Apache cannot load the dll, it
usually responds with a "module not found" or "procecure not found"
error,
even though you know that the dll is where it is supposed to be; this is
one
of the most common errors that Win32 users experience.
Be aware that if you browse around on the PECL4Win site and are taken to
the
main site, then it is nearly impossible to find your way back to the
PECL4Win location of interest (a negative usability issue with that
site).
As of this writing,
http://us3.php.net/
no longer appears to provide PHP 5.1.4 for Windows (by merely browsing
or
searching); instead, it openly maintains only versions of 4x and 5.2,
even
in its so-called "snapshot archives" (http://snaps.php.net/).
You could go there and perform a search for 'pecl-5.1.4-Win32.zip' (or
key
fragments of this file name) in the 'all php.net sites' drop-down
filter,
but even this is flawed in results. Since I already have located both
the
5.1.4 version of PHP and PECL for Win32, you can go directly to:
http://us3.php.net/get/pecl-5.1.4-Win32.zip/from/a/mirror
http://us3.php.net/get/php-5.1.4-Win32.zip/from/a/mirror
The PHP 5.1.4 binary also is available for download at site "Planet
Mirror":
http://public.www.planetmirror.com/pub/php/distributions
It contains some older and most recent versions of PHP for Win32
including
5.1.4 and 5.2.0.
Whichever you choose, I personally prefer to use Apache 2.x.x, rather
than
IIS, since it is much more amenable to tweaking and configurable for
PHP. I
therefore would stay away from using 'php-5.1.4-installer.exe', unless
you
want the wizard assistance in setting up for IIS. Instead I would
simple
buckle-up and read the included 'install.txt' THOROUGHLY and play around
with settings as recommended. In setting up for Apache, I would
particularly read up on environment settings and alternate file
locations
for placing, say, 'php.ini'. You would do well to perform some Web
searches
on this topic to get opinions of others who have successfully set-up and
managed their Win32 installations of PHP.
Since you do not mention the intent to upgrade from an earlier version
of
PHP, I would consider PHP 5.2.0 a stable current release available,
along
with matching PECL binary package. Stable release 5.2.0 has significant
number of bug fixes over the earlier release.
This is NOT, however, a seamless set-up, expecially if you use Apache,
because some known issues have surfaced with respect to PHP Apache
2.2.4,
available in No-SSL only for Win32 from:
http://httpd.apache.org/download.cgi
An alternate version (compiled from MS Visual Studio) is available at:
http://www.apachelounge.com/download/
This latter version comes WITH SSL capability and requires the Visual
C++
2005 Redistributable Package, also available from the same site (you
would
need to see instructions for obtaining this package inside the readme
included with Apachelounge Apache 2.2.4). This version is known to work
with PHP 5.2.0 on WinXP (Win32), along with the PECL 5.2.0 extension
package, but again you will have to muster up a GREAT deal of patience
to
get all the locations, extensions, and configuration files, php.ini and
httpd.conf (including how to set up script alias directories and virtual
hosts), and the Windows path environment. You will also need a bouch of
other dependency stuff too numerous to state here (libxml, iconv, etc.)
depending on whether or not you choose to enable some extensions. Some
dependencies are not readily determined, and you will have to conjure up
even more patience to search the Web for leads to some updated zips for
some
of these (which are not always included in the PECL4Win).
If you just MUST use PHP 5.1.4, then you'll likely have to settle for a
well-proven earlier but recent release of Apache for Windows v2.0.59,
available from http://httpd.apache.org/download.cgi.
I might be wrong, but you do seem to be proficient in running Apache for
Windows (maybe it's a perception from my "electric crystal ball"). If
not,
then this is NOT for the faint of heart.
Hope that you can glean some good out of this.
Ricky Smith
_____________________________________________________
----- Original Message -----
From: "Lamon Jean-Pierre" mediatheque.ch>
To: "Discussion on the YAZ Z39.50 toolkit" lists.indexdata.dk>
Sent: Wednesday, January 24, 2007 10:41 AM
Subject: RE: [Yazlist] PHP/YAZ and Win32
See http://lists.indexdata.dk/pipermail/yazlist/2007-January/001863.html
Unfortunately, we don't have resources to maintain php_yaz.dll binaries
ourselves. It is depending on the PHP version.
[JPL:] Thank you. I'm trying now to install yaz on PHP 5.1.4. I launch
the command : "pcl install yaz"
The yaz-1.0.8.tgz is downloaded from pcl.php.net, building the 5 sources
files, but it fails with the message " the DSP yaz.dsp does not exist".
Thank you for your help
JP
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
|