Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2605 | minor | always | 04-15-08 07:16 | 04-16-08 16:42 | |
|
|||||
Reporter: | sgraf | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.5 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.6 | ||
|
|||||
Summary: | 0002605: php.ini file path is not relative to application root | ||||
Description: |
Quercus Servlet On Tomcat 6.0.16 Although there are several examples on your website where the php.ini file location is given by using a path relative to the application root path doing so will not allow the servlet to retrieve the correct php.ini file. From what I have observed QuercusServlet.setInitParam() is using com.caucho.vfs.Path.lookup() but this function will return a path relative to the current working directory which will usually be the /bin directory of the application server. To correctly load a php.ini file in the WEB-INF directory I had to specify the complete path. I realize that this might not be a problem for Resin based application servers but this bug report might still shed light on the mysterious ini-file parameter issue for anyone who wants to run Quercus on another application server. |
||||
Steps To Reproduce: | |||||
Additional Information: |
doesn't work: <init-param> <param-name>ini-file</param-name> <param-value>WEB-INF/php.ini</param-value> </init-param> correction: <init-param> <param-name>ini-file</param-name> <param-value>${catalina.home}/webapps/myquercusapp/WEB-INF/php.ini</param-value> </init-param> |
||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |