Anonymous | Login | Signup for a new account | 12-17-2024 08:53 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002605 | [Quercus] | minor | always | 04-15-08 07:16 | 04-16-08 16:42 | ||||
Reporter | sgraf | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.5 | ||||||
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. |
||||||||
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> |
||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |