From: <php...@li...> - 2007-03-21 12:48:54
|
I've sent this message before but it was a little off-topic in a thread tha= t I should have assumed closed when you help me to make my script work. I'm sending my questions again, not to be persistent, but to be a little more organized. Two questions came up: 1) When I run the install.sh script it overwrites my php.ini with the PHP/Java Bridge configuration. It does not bother me right now because I'm not using any special configuration, but when I go on production I will need my php.ini file. The problem is that if I append the lines of the php.ini file that the install.sh created to my original php.ini, the extension just doesn't load. Is there any consideration that I should take into account before merging both ini files? 2) In a previous email, Jost told me that PHP/Java Bridge does not care about CLASSPATH variable, and here comes my problem. I have to implement an API which uses some XML files for its configuration. The xml is loaded using th= e getSystemResource method of the ClassLoader, which looks for a certain file on the classpath as I understand. So, how should I indicate where those files are using PHP/Java Bridge? Right now I just added the path to the conf/ folder to the CLASSPATH and everything worked. Thanks Andr=E9s Gattinoni |