Archived
This forum has been archived. Please start a new discussion on GitHub.
PHP Configuration
I feel I'm probably missing something obvious. Just the same, I don't know where else to look other than these forums for an answer.
1) In the manual and in several other posts here I have seen mention of an "ice configuration file", e.g.: ice.config=/opt/MyApp/ice.cfg
What is the format for this file, and is it required?
2) I'm using apache2-prefork with mod-php 5.1.2, and getting the following error in apache2's error.log:
PHP Fatal error: Unable to start ice module in Unknown on line 0
The only lines I've added to php.ini are as follows:
extension=IcePHP.so
[IceTestProfile]
ice.slice="/Home/admin/sayotte/proj/icetest/icetest.ice"
The above mentioned "icetest.ice" file does exist.
$ICE_HOME is set to "/opt/Ice-3.2.0", which is where I have the base c++ set installed.
$PATH includes "/opt/Ice-3.2.0/bin"
Can I get a lead on where else to look maybe?
1) In the manual and in several other posts here I have seen mention of an "ice configuration file", e.g.: ice.config=/opt/MyApp/ice.cfg
What is the format for this file, and is it required?
2) I'm using apache2-prefork with mod-php 5.1.2, and getting the following error in apache2's error.log:
PHP Fatal error: Unable to start ice module in Unknown on line 0
The only lines I've added to php.ini are as follows:
extension=IcePHP.so
[IceTestProfile]
ice.slice="/Home/admin/sayotte/proj/icetest/icetest.ice"
The above mentioned "icetest.ice" file does exist.
$ICE_HOME is set to "/opt/Ice-3.2.0", which is where I have the base c++ set installed.
$PATH includes "/opt/Ice-3.2.0/bin"
Can I get a lead on where else to look maybe?
0
Comments
-
The configuration file contains Ice properties -- see chapter 30 in the Ice 3.2 manual for more information. It is not required and you can write an Ice application without one -- however, it is recommended because with a configuration file you can change the configuration of your application without any changes to your source code.0