From: <php...@li...> - 2010-09-21 21:14:59
|
Hi, I am running - on MacOSX - php-cgi compiled using Macport. - latest php-java-bridge - JBOSS 4.0.3 - I do not have the doc_root variable set in my php.ini I can access the test.php page (which is a call to phpinfo) fine from php-cgi directly, or when I place it one level from my web app root. But I get "No input file specified." on the page when I place the file under a directory. Here are the various environment parameters that is useful for debugging. For me, it looks like both SCRIPT_NAME and SCRIPT_FILENAME are wrong. This fails https://localhost:8080/ctx/directory/directory/test.php PATH_INFO=/test.php PATH_TRANSLATED=/<JBOSS_HOME>/server/myserver/./deploy/ctx.war/test.php SCRIPT_NAME=/ctx/directory SCRIPT_FILENAME=/<JBOSS_HOME>/server/myserver/./deploy/ctx.war/directory This works https://localhost:8080/ctx/test.php SCRIPT_NAME=/ctx/test.php SCRIPT_FILENAME=/<JBOSS_HOME>/server/myserver/./deploy/ctx.war/test.php What can be done? Thanks. Theen-Theen |