niatech

Well-Known Member
Feb 20, 2005
121
0
166
Hello,

I have an older CPanel server with Apache 1.3.37 & PHP 4.4.7. And PATH_TRANSLATED returns as follows:

http://www.somedomain.com/index.php/testing

PATH_TRANSLATED = /home/someuser/testing

I have a newer server with Apache 1.3.47 & PHP 4.4.9 and PATH_TRANSLATED = SCRIPT_FILENAME (/home/someuser/public_html/index.php).

Anyone have any idea on how to make this work as it did before?

I tested with Apache 2.2.x and PHP 5.2.14 and that did not work either.

Oddly enough, in WAMP on my local desktop (Apache 2.2.x & PHP 5.3) PATH_TRANSLATED returns as expected (/home/someuser/testing).

Any help would be greatly appreciated!

Thanks!