Media Temple VE - Ubuntu server - Support for C5 Request URLs failure on install
PermalinkI tried the cgi.fix_path = 1 edit in my php.ini but no change.
Here is my phpinfo -http://andersontranslationservice.com/test.php... and attached is the server's conf from /etc/apache2/apache2.conf
Does anyone have a couple minutes to look at my setup? I have to move a client from my work dev env to a Media Temple VE in two days and I was assuming it would be a no brainer but now I am looking at reinstalling a different OS on the VE or something else...

While I have been using php for many years now, I still regard myself as a novice at it. I have not encountered this error before and have no knowledge as to what prompted this error, I have been researching it for the past couple of days.
There are 2 Server Super-globals mentioned in the error message, PATH_INFO and ORIG_PATH_INFO. These Constants are generated by the server. However, Apache2's default is if the page to be served is passed to a handler such as php then that Handler will create the Super-Globals. So, it seems that php itself will generate the Server Super-Globals from the path that is passed to the php script. The actual URL that is specified in the header ends at the actual php script and the trailing file path that comes after the php script becomes the information passed to that Handler. The specification for $_SERVER[PATH_INFO] should contain a path passed to it minus any query string that is attached to it. $_SERVER[ORIG_PATH_INFO] should be the original path passed before any php processing. I am using a test script to see what php is doing with these 2 Constants. (script shown below) In my install, PATH_INFO comes back as the proper path passed to it. ORIG_PATH_INFO comes back NULL. I am still not sure of what I should expect in ORIG_PATH_INFO. If they are just looking for the Path info being set, it shouldn't be returning an error. I hope that they aren't using $HTTP_SERVER_VARS to get PATH_INFO. That has been deprecated and doesn't work in php5.
Anyway, that is my verbose explanation as to what is going on with me on research of the same problem that a lot of people seem to be having. I hope that this description of my efforts can be of help to you and Maybe if you find the cause, you could post the fix back here.
This problem has been expressed by many, many individuals for many years. And, reading these threads, it looks like there are many different probable causes. I think that there is enough history with this same error message that a posting with a detailed description of the many possible origins of this error.
test.php:
<?php
echo "PATH_INFO = [".$_SERVER['PATH_INFO']."]<br>\n";
echo "ORIG_PATH_INFO = [".$_SERVER['ORIG_PATH_INFO']."]<br>\n";
$path_parts = pathinfo('./test/test.php');
echo $path_parts['dirname'], "<br>\n";
echo $path_parts['basename'], "<br>\n";
echo $path_parts['extension'], "<br>\n";
echo $path_parts['filename'], "<br>\n";
?>
That is helpful. There must be a change in the php engine between these two Ubuntu versions. From what I can conclude is that the php engine itself is the origin of these Constants. I will be focusing on this.
Reguards;
ThomasJ
However, on the broken install I couldn't access a working page beyond the TLD so for each of these machines I was testing just example.com/
<?php
print "env PATH_INFO = [".getenv(PATH_INFO)."] ORIG_PATH_INFO = [".getenv(ORIG_PATH_INFO)."]<br>\n";
print "(doing: putenv test, andtest)<br>\n";
putenv("PATH_INFO=test");
putenv("ORIG_PATH_INFO=andtest");
print "After change:<br>";
print "env PATH_INFO = [".getenv("PATH_INFO")."] ORIG_PATH_INFO = [".getenv("ORIG_PATH_INFO")."]<br>\n";
phpinfo(INFO_ENVIRONMENT);
?>
Result:
env PATH_INFO = [] ORIG_PATH_INFO = []
(doing: putenv test, andtest)
After change:
env PATH_INFO = [test] ORIG_PATH_INFO = [andtest]
I am beginning to think that the error flag on the install page is just an aberration that can be ignored. tomorrow, I am going ahead with the install in spite of the red dot flag.
Now that I have confirmed that it is not a php reported error, I have to look elsewhere for the answer to this problem. Anyone have any Ideas? I really would like to try concrete5 but if I can't even get past the opening install page, I am forced to look elsewhere for my CMS solution.
regards,
ThomasJ
I wish I could be posting a fix to installing the current stable release, But I guess that the fix for this version is to just install version 5.5.
Cheers,
thomasJ