Hi,
We're about to release new versions of Ice and IcePHP, and I just finished running the IcePHP hello demo using PHP5b4 and Apache 2 on Windows 2000. Here is what I did:
- Copied php5ts.dll to C:\WINNT\system32
- Copied the Ice DLLs and all third-party dependencies to C:\WINNT\system32
- Created C:\icephp
- Copied php_ice.dll to C:\icephp
- Copied Hello.ice to C:\icephp
- Copied php.ini-dist from the PHP source directory to C:\Program Files\Apache Group\Apache2\php.ini
- Added the following lines to C:\Program Files\Apache Group\Apache2\php.ini:
extension_dir = "C:/icephp"
extension = "php_ice.dll"
ice.slice = "C:/icephp/Hello.ice"
- Copied hello.php to C:\Program Files\Apache Group\Apache2\htdocs
- Edited hello.php to remove the SSL endpoint from the proxy
- Added the following lines to httpd.conf:
LoadModule php5_module C:/php-5.0.0b4-Win32/php5apache2.dll
AddType application/x-httpd-php .php
Finally, I started the hello server on the same machine, pointed my browser at
hello.php, and it worked fine.
Hope that helps,
- Mark