Configure the ice + PhP Environment
First, my computer is win7 32-bit. The PHP environment has been installed. However, it is the integrated environment XAMPP, which has the following versions: xampp1.7.3, php3.5.1, and apache2.2.14.
Ice download page http://www.zeroc.com/download.html
The last version is the latest version. I personally don't think it is a good idea to use the latest version, because we may also report an error if the PHP and Apache versions we have installed are not enough.
At the beginning, we also downloaded ice-3.4.2, but no error was reported after the download. It won't be enough when it's half loaded. The error is
Do not doubt, it must be a version issue. Then re-install ice-3.4.1. Well, the next step is to record the installation process.
First, install XAMPP. This process is omitted.
You can attach an ice-3.4.1 to a C or D Drive at will.
Find PHP. ini to open the file, and add extension = php_ice.dll at the end.
Copy X:/ICE/bin/php_ine.dll to X:/PHP/Ext.
Close Apache, run it, and then start to report an error, such as the lack of bzip2.dll. Copy these files in ICE/bin to Apache/bin in sequence. There are so many files
Bzip2.dll
Ice33.dll
Iceutil33.dll
Msvcp60.dll
Msvcrt. dll
Slice33.dll
Stlport_vc646.dll
Load slice.
Load slice directly
Modify the PHP/PHP. ini file
Add ice. Slice =
X: \ XAMPP \ htdocs \ hello. Ice
This path is the directory where you access index. php of PHP under Apache. Of course, you should also copy the hello demo to this folder.
Then the configuration of ice-PHP is successful.
The references include:
Http://www.cnblogs.com/loswing/archive/2009/11/04/1595909.html