MassTransit PHP 5.2 upgrade

1 Star2 Stars3 Stars4 Stars5 Stars
  • Product:
  • Document Type:
  • Revised:
  • Reviewed:


This document outlines the process that MassTransit administrators may follow to upgrade PHP 5.1.x to PHP 5.2 for use with MTWeb.



1. Go to and download the appropriate PHP package for your version of Mac OS X. If you are using a Mac OS X 10.4.x version, Group Logic recommends using the 5.2.0 universal binary version (runs on both PPC and Intel-based Mac platforms).
2. Double-click the compressed file that was downloaded. That file should automatically be decompressed and create the PHP installer package file on your desktop.
3. Double-click the installer package and follow the installer directions.
4. You must restart the Apache Server by typing “sudo Apachectl restart” at the command line of the terminal window. You will need Administrator access to restart Apache.


1. Rename your current PHP folder (e.g. “C:\php”) for back up in case there’s a problem with the new PHP version.
2. Go to and download the appropriate PHP 5.2 Windows zip package. Extract the package into a directory called php (e.g. “C:\php”). It is strongly recommended that PHP be installed on the same drive as the operating system. Installing PHP on a different drive will prevent MTWeb from working properly.
3. Delete the php.ini file from your system directory (e.g. “C:\Windows\”) and the libmysql.dll file from “C:\Windows\System32\”. The libmysql.dll file may be locked. You may need to restart IIS in order to delete it.
4. Follow the Windows PHP Setup instructions in the PDF file below (pages 6-8) to configure PHP 5.2. Skip step 1.

NOTE: If Stuffit Expander was used to open the PHP zip package and the required PHP files mentioned in the PDF below are not present, try using another application to open the PHP zip package.

Related Articles:

Tags: , , ,