BasiliskEngine / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Port number not sent to PHP correctly #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. I browse to URL http://localhost:65066/info.php, where info.php is a
file containing only "<?php phpinfo(); ?>".

What is the expected output? What do you see instead?

I see that at least one of environment variables SERVER_PORT or REMOTE_PORT
is incorrect (has the value 1237 instead of 65066; the exact number depends
on the port that is configured). These incorrect values also appear in the
_ENV and _SERVER variables in PHP.

What version of the product are you using? On what operating system?

I am using Windows XP Home SP3, with Firefox 3.0.11, and with mongoose-2.6.exe.

Please provide any additional information below.

The mongoose.conf file contains the directive "ports 65066". The file
php-cgi.exe must be present in the root directory.

Original issue reported on code.google.com by googl...@springtimesoftware.com on 24 Jun 2009 at 9:58

GoogleCodeExporter commented 8 years ago
php5ts.dll must also be present in the root directory (php-cgi.exe is only a 
wrapper
for this file, which contains the PHP interpreter).

Original comment by googl...@springtimesoftware.com on 24 Jun 2009 at 10:06

GoogleCodeExporter commented 8 years ago
Submitted http://code.google.com/p/mongoose/source/detail?r=442
Thank you.

Original comment by valenok on 7 Jul 2009 at 8:18