|
why I can't use slice in icephp?
I tried to run 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
Start the Apache Server,and I received the error message:
PHP Startup: Unable to initalize module 'ice'
If I delete the following line to C:\Program Files\Apache Group\Apache2\php.ini:
ice.slice = "C:/icephp/Hello.ice"
the error message not show
Anybody can tell me why? Thanks.
angela.lu
|