Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-14-2004
griffima griffima is offline
Registered User
 
 
Join Date: Oct 2004
Location: Connecticut, USA
Posts: 17
php_ice windows DLL does not run under Apache 1.3

Trying to run php ice client on windows but php insists it can't find the DLL (which is total nonsense since it finds the other DLLs in the same place.)

Is there anything special that needs to be done besides just dropping the DLL into php/ext?

Stack:
php 5.0.2
Apache 1.3.31
Windows XP SP1
IcePhp 1.1.2
Ice 1.5.1

Last edited by griffima : 10-15-2004 at 09:50 AM.
Reply With Quote
  #2 (permalink)  
Old 10-14-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

Did you build the extension yourself, or did you download the precompiled one from us? The reason I ask is that the precompiled one was built with PHP 5.0.0, so we can't guarantee that it will be binary compatible with PHP 5.0.2.

Also, are the necessary Ice libraries (ice15.dll, iceutil15.dll, slice15.dll) in a location that can be found by PHP (or more specifically, by Apache)?

Take care,
- Mark
Reply With Quote
  #3 (permalink)  
Old 10-14-2004
griffima griffima is offline
Registered User
 
 
Join Date: Oct 2004
Location: Connecticut, USA
Posts: 17
It's the 1.1.2 VC70 build. Ice-1.5.1/bin is in the path but I don't know where apache looks for DLLs under windows. Just for kicks, I rolled back to php 5.0.0 just to see if that did anything, but no luck. So I think that missing ICE DLLs is the answer. Where's a good spot for these puppies?
Reply With Quote
  #4 (permalink)  
Old 10-14-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
I would try putting them in \WINDOWS\system32 just to see if things start working. You may want to move them later if Apache provides a better alternative (perhaps the same directory as the extension?).

- Mark
Reply With Quote
  #5 (permalink)  
Old 10-14-2004
griffima griffima is offline
Registered User
 
 
Join Date: Oct 2004
Location: Connecticut, USA
Posts: 17
Getting closer. Apache now reports that it is unable to start the ice module. The error log contains:
PHP Fatal error: profile `__default__' already exists in Unknown on line 0
PHP Fatal error: Unable to start ice module in Unknown on line 0


I have rolled back to php 5.0.0 final just to eliminate the variable.
Reply With Quote
  #6 (permalink)  
Old 10-14-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
How are you configuring the Ice extension? Is it possible that the Ice extension is being configured twice?

- Mark
Reply With Quote
  #7 (permalink)  
Old 10-14-2004
griffima griffima is offline
Registered User
 
 
Join Date: Oct 2004
Location: Connecticut, USA
Posts: 17
No. I checked php.ini and extension=php_ice.dll appears once. If it matters, the only other enabled extensions are curl and mysql.
Reply With Quote
  #8 (permalink)  
Old 10-14-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
I'll see if I can reproduce this error. Stay tuned.

- Mark
Reply With Quote
  #9 (permalink)  
Old 10-14-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Update

I was able to reproduce this problem with Apache 1.3. I'm still investigating the cause. Meanwhile, you can try using Apache 2 instead. This is the version we used when testing the Ice extension.

Thanks,
- Mark
Reply With Quote
  #10 (permalink)  
Old 10-15-2004
griffima griffima is offline
Registered User
 
 
Join Date: Oct 2004
Location: Connecticut, USA
Posts: 17
Thanks for your effort, Mark. Apache 2 really isn't an option as there is no plan for upgrading our production and test servers from 1.3 any time in the near future. Please let me know if you have any luck with this problem.
Reply With Quote
  #11 (permalink)  
Old 10-15-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

I tracked it down to a bug in the Ice extension. I've attached a replacement for php_ice.dll that fixes the problem.

Thanks for reporting this.
- Mark
Attached Files
File Type: zip icephp-1.1.2a-bin-vc70.zip (75.5 KB, 53 views)
Reply With Quote
  #12 (permalink)  
Old 10-15-2004
griffima griffima is offline
Registered User
 
 
Join Date: Oct 2004
Location: Connecticut, USA
Posts: 17
That did the trick.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Can't load extension php_ice.dll AdrianM Help Center 6 03-11-2006 10:46 PM
build php_ice 1.1.1 error. proxy.cpp line 183 damingyipai Bug Reports 5 07-30-2004 09:36 PM


All times are GMT -4. The time now is 06:30 PM.


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.