Problem with include path
Posted: Tue Nov 20, 2007 2:47 pm
Hey Everyone,
I am trying to set up PHPBB on my campus server and we are having major difficulties trying to figure out the problem. It seems that there is an include problem so I made a test file. Take a look:
http://www.csulb.edu/~cota/includetest/subfolder/
The php files linked to above are hosted in one location and we have the two PHP servers calling the same files, so I know that it isn't a permission issue. Is this a php issue or an apache issue? Or are the two not communicating correctly?
I saw this in the php documenation:
Could that be the problem? Any suggestions would be much appreciated!!
Thanks!
Mike
I am trying to set up PHPBB on my campus server and we are having major difficulties trying to figure out the problem. It seems that there is an include problem so I made a test file. Take a look:
http://www.csulb.edu/~cota/includetest/subfolder/
The php files linked to above are hosted in one location and we have the two PHP servers calling the same files, so I know that it isn't a permission issue. Is this a php issue or an apache issue? Or are the two not communicating correctly?
I saw this in the php documenation:
Code: Select all
'PATH_TRANSLATED'
Filesystem- (not document root-) based path to the current script, after the server has done any virtual-to-real mapping.
Note: As of PHP 4.3.2, PATH_TRANSLATED is no longer set implicitly under the Apache 2 SAPI in contrast to the situation in Apache 1, where it's set to the same value as the SCRIPT_FILENAME server variable when it's not populated by Apache. This change was made to comply with the CGI specification that PATH_TRANSLATED should only exist if PATH_INFO is defined.
Apache 2 users may use AcceptPathInfo = On inside httpd.conf to define PATH_INFO.Thanks!
Mike