Archived

This forum has been archived. Please start a new discussion on GitHub.

ICE PHP requires write access?

Hi,

I'm trying to get ICE, PHP and IIS to work together. I've installed ICE and PHP, and copied the necesarry libraries from the ICE installation to the PHP one. I've also added a slice file to php.ini

The problems is that php will only run if it has write access to the current directory.
C:\Users\Thorvald>php -v
PHP 5.2.6 (cli) (built: May  2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

C:\Users\Thorvald>cd ..

C:\Users>php -v
PHP Fatal error:  Unable to start ice module in Unknown on line 0

C:\Users>

I'm guessing this has something to do with the parsing of the slice files. Is there some way to tell the ICE PHP module to use a specific directory for these output files?

Comments

  • dwayne
    dwayne St. John's, Newfoundland
    Hi,

    I have posted a source patch that should resolve this problem. Thanks for the report.

    Dwayne
  • Excellent :) Thank you.

    I'm assuming you only release updated binaries when there's a new version of Ice. While I can recompile for my own use, it's much easier if I can tell end users to "install the ICE binaries from ZeroC for the PHP support" :) Any ETA on when this will be included in the official binaries?
  • dwayne
    dwayne St. John's, Newfoundland
    Sorry, we do not have a ETA right now for the next release of Ice.

    Dwayne