Install Guide for PHP 5.1.2 with ICE on Windows 2003
=======================================
Install Process mentioned below is tested under environment.
Windows 2003
IIS 6.0
PHP 5.1.2
In order to install PHP 5.1.2 on Windows Server 2003 & configured the PHP on IIS.Here are the steps -
01. Download the source code, installer & binary of PHP 5.1.2 for windows. These are available at http://www.php.net/.
02. Run the installer in order to fetch all the dlls, which are unavailable in the binary, it will ask for the path use C:/PHP.
03. Use the binaries, extract the zipped folder & copy all the stuff to C:/PHP, you can check C:/PHP/ext will conatin all the dlls.
04. Move php5ts.dll to c:\windows\php5ts.dll.
Installation of PHP 5.1.2 on Windows Server 2003 is over. PHP5 is now installed on your computer, but you still need to configure it to work with IIS, which we will do in the next step.Now, configured the PHP on IIS -
01. Under Internet Information Services (IIS) Manager, right-click on "Web Service Extensions" in the menu on the left.
02. Then select "Add a new Web service extension..." from the list.
03. Put extension name as "PHP".
04. Browse the file, by clicking at ADD, use C:\PHP\php5isapi.dll for php extension( Used php5isapi.dll for php extension, to avoid CGI error ).
05. Make sure you check the "Set extension status to Allowed" checkbox.
06. In "Internet Information Services (IIS) Manager", left-click on "Web Sites" in the menu on the left and select "Properties". Next, select the "Documents" tab and click on "Add".To ensure that index.php documents open as a default they should be added as a "Content Page".
07. Copy php.ini-recommended from c:\PHP to C:\windows\phpini.
We have to upgrade the PHP for XSL and XSLT by entering the following into
c:\windows\php.ini - extension=php_xsl.dll & set extension_dir= "C:/PHP/ext".
After, this we will do the following for Ice extension for PHP:-
01. Install ICE Ice-3.0.0. This can be downloaded from http://www.zeroc.com/download.html.
02. Build the "IcePhp 3.0.1". (Use the source code for PHP5, for including the library paths) Dependency: Requires Ice for C++ and PHP 5.0.5 or 5.1.2. Here we are using PHP 5.1.2.IcePHP is available at http://www.zeroc.com/download.html.
03. Copy the php_ice.dll to the folder "C:/PHP/ext" from "IcePHP-3.0.1\bin\release".
04. Also copy all the dependencies of IcePhp Use Dependency Viewer Tool to identify this.
- icecpp.exe
- bzip2.dll
- msvcp71.dll
- msvcr71.dll
- ice30.dll
- iceutil30.dll
- slice30.dll
to c:/windows/system32.
05. After, this add the following lines in php.ini -extension=php_ice.dllice.slice = "-IC:/Development/APAL6/D3 C:/Development/APAL6/D3/D3I.ice -IC:/Development/APAL6/APAL3 C:/Development/APAL6/APAL3/APAL3I.ice"so that, the web pages can interact with the C++ APAL6 engine through ICE.
06. Also, make sure that, the PHP pages are using 07. Start the Service & enjoy the web pages on IIS!!.
No comments:
Post a Comment