SAM - Binaries for Windows
The .dlls are packaged inside a zip file and should be unzipped to
the "extensions" directory of your PHP distribution. If you are
using the Zend core for IBM the .dll should be unzipped to
the "\program files\Zend\Core for IBM\lib\phpext" directory.
These binaries have been built with the compiler and libraries from the
Microsoft Visual Studio 2005 package and you will need to ensure that the
runtime components are installed on the system on which you intend to use SAM.
This can be accomplished by installing Visual Studio 2005 or by using the
freely distributable runtime package available from
http://www.microsoft.com/downloads
Download link
SAM-1.1.0-5.0.5.zip
Other prerequisites
If you only wish to use the built-in MQTT support then there are no prerequisites and you should only
enable the SAM framework extension dll (php_sam.dll) in php.ini. If you wish to access the IBM
messaging products you will also need to enable the XMS support extension (php_sam_xms.dll) in php.ini and
install one or more of the following prerequisites.
The SAM extension interfaces to the IBM Messaging and Queuing middleware products using a set of libraries
and some client side code referred to as XMS. This package is available as a free download in the guise
of IBM support pack IA94. There is a description of this package and download links in the article
Introducing XMS - The IBM Message Service API.
If you intend to use SAM to access the Messaging and Queuing infrastructure within WebSphere MQ then you will
also need to have installed a local MQ queue manager or installed the WebSphere MQ clients package. The
clients package is freely available as a support pack (MQC6).
If you are only aiming to experiment with sending messages to and from WebSphere Application Server queues using the WebSphere Platform Messaging protocol (WPM) then you do not need to install the MQC6 package.
After installing these packages you will need to ensure the XMS binary and, if you are using it, the MQ client bin directory are included in the PATH environment variable so that Apache and PHP can find the dependent .DLLs/libraries.