Archived
This forum has been archived. Please start a new discussion on GitHub.
Problem with php_ice
griffima
in Help Center
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
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
0
Comments
-
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,
- Mark0 -
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?0
-
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.0 -
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.
- Mark0
