[FGS] Starting apache error: httpd cannot execute binary file
Normand Savard
nsavard at mapgears.com
Wed Nov 18 09:47:27 EST 2009
Hao Zhang wrote:
> In browser, I input "http://localhost:8000/cgi-bin/mapserv/" and it
> returns "No query information to decode. QUERY_STRING is set, but
> empty". So mapserver is working. There is a file called "phpinfo.php"
> located at /opt/fgs/www/htdocs/ directory. Then I input
> "http://localhost:8000/phpinfo.php" in browser, but it returns "404
> Not Found The requested URL /cgi-bin/php5/phpinfo.php was not found on
> this server." I use firebug plugin in firefox to investigate and find
> in response header saying "Server| Apache/2.2.8 (Unix)|". If I send
> same request to another running FGS (1.0) you provide in official
> website, it says "Server| Apache/2.2.8 (Unix) X-Powered-By
> PHP/5.2.5|" in response header and returns correct page content. It
> seems to me that my self-built FGS is not able to execute php code in
> apache. Could you instruct me how to fix it? I need
> Apache/Mapserver/PHP/Mapscript all working together in order to run
> application such as ka-map on top. Thank you in advance.
>
Hao,
Is there a php5 in your cgi-bin ($FGS_HOME/www/cgi-bin/)?
Norm
More information about the Foss-gis-suite
mailing list