php 5.2.5 and apache 2.2.8

hello every one;

i have been working with the new apache and been having some problems. wanted to know if any one here has come across the same thing. note this worked fine under apache 2.2.6.. what is happening is i'm getting this error

[Tue Mar 04 20:57:58 2008] [error] [client 24.51.51.1] (20024)The given path misformatted or contained invalid characters: Cannot map GET /install/images/%3C?php%20echo%20$mapname.%20'off';%20?>.jpg HTTP/1.1 to file,

here is the code that i'm getting a error on.

 <img src="images/<?php echo $mapname. 'off'; ?>.jpg" usemap='<?php echo "#". $mapname; ?>' border="0" name="<?php echo $mapname ?>">
 <MAP NAME="<?php echo $mapname; ?>">
                <AREA SHAPE=POLYGON HREF='<?php echo $t_url; ?>' TARGET="_self" COORDS="7,27,23,34,126,34,142,27
                ,126,21,23,21"
  onmouseover="chgimg('<?php echo $mapname ?>','on')"
  onmouseout="chgimg('<?php echo $mapname ?>','off')">
                <AREA SHAPE=POLYGON HREF='<?php echo $t_url; ?>' TARGET="_self" COORDS="7,11,23,20,126,20,142,11
                ,126,2,23,2"
  onmouseover="chgimg('<?php echo $mapname ?>','on')"
  onmouseout="chgimg('<?php echo $mapname ?>','off')">
                <AREA SHAPE=POLYGON HREF='<?php echo $t_url; ?>' TARGET="_self" COORDS="0,20,5,32,18,37,132,37
                ,144,32,150,20,144,7,132,2,18,2,5,7"
  onmouseover="chgimg('<?php echo $mapname ?>','on')"
  onmouseout="chgimg('<?php echo $mapname ?>','off')">
                <AREA SHAPE=POLYGON HREF='<?php echo $t_url; ?>' TARGET="_self" COORDS="1,19,18,36,133,36,150,19
                ,133,1,18,1"
  onmouseover="chgimg('<?php echo $mapname ?>','on')"
  onmouseout="chgimg('<?php echo $mapname ?>','off')">
                <AREA SHAPE=POLYGON HREF='<?php echo $t_url; ?>' TARGET="_self" COORDS="15,36,29,44,122,44,136,36
                ,122,29,29,29"
  onmouseover="chgimg('<?php echo $mapname ?>','on')"
  onmouseout="chgimg('<?php echo $mapname ?>','off')">
                <AREA SHAPE=POLYGON HREF='<?php echo $t_url; ?>' TARGET="_self" COORDS="9,40,24,52,127,52,143,40
                ,127,29,24,29"
  onmouseover="chgimg('<?php echo $mapname ?>','on')"
  onmouseout="chgimg('<?php echo $mapname ?>','off')">
                <AREA SHAPE=POLYGON HREF='<?php echo $t_url; ?>' TARGET="_self" COORDS="0,0,151,0,151,52,0,52"
  onmouseover="chgimg('<?php echo $mapname ?>','on')"
  onmouseout="chgimg('<?php echo $mapname ?>','off')">
 </MAP>
 <?php
 }
#    setting up vars for button function
 $t_url="logout.php";
 $mapname="3dcapsle";
 ?> 
 <p class="button_pic">
  <?php
  mybutton($mapname, $t_url);
  $t_url="install2.php";
  $mapname="3dcapslec";
  mybutton($mapname, $t_url);
  ?>