Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-04-2004
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
help

hi,

Have anybody succedded in using Ice PHP 1.01? I try my best but the browser always told me: :counfused:

Fatal error: unable to create Slice types: in C:\Program Files\Apache Group\Apache2\htdocs\hello.php on line 9

The PHP's version is 5.0b2. The Apache server's version is 2.0.48. What is wrong?
__________________
Fengxb
Reply With Quote
  #2 (permalink)  
Old 03-05-2004
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
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
Reply With Quote
  #3 (permalink)  
Old 03-05-2004
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
Thanks, mes. Now everything is ok. We are looking forward to see your new release.
__________________
Fengxb
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.