| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <meta name="generator" content="Adobe RoboHelp 8"> |
| <title>Adding a Server Location Path Map</title> |
| <link rel="StyleSheet" href="default.css" type="text/css"> |
| <style type="text/css"> |
| <!-- |
| body { border-left-style:None; |
| border-right-style:None; |
| border-bottom-style:None; |
| background-color:Transparent; |
| border-top-style:None; } |
| --> |
| </style> |
| <style type="text/css"> |
| <!-- |
| body { border-left-style:None; |
| border-right-style:None; |
| border-bottom-style:None; |
| background-color:Transparent; |
| border-top-style:None; } |
| --> |
| </style> |
| <script type="text/javascript" language="JavaScript"> |
| //<![CDATA[ |
| function reDo() { |
| if (innerWidth != origWidth || innerHeight != origHeight) |
| location.reload(); |
| } |
| if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { |
| origWidth = innerWidth; |
| origHeight = innerHeight; |
| onresize = reDo; |
| } |
| onerror = null; |
| //]]> |
| </script> |
| <style type="text/css"> |
| <!-- |
| div.WebHelpPopupMenu { position:absolute; |
| left:0px; |
| top:0px; |
| z-index:4; |
| visibility:hidden; } |
| p.WebHelpNavBar { text-align:right; } |
| --> |
| </style> |
| <script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> |
| <script type="text/javascript" language="javascript" src="whver.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whutils.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whlang.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> |
| <script type="text/javascript" language="javascript1.2">//<![CDATA[ |
| <!-- |
| if (window.gbWhTopic) |
| { |
| var strUrl = document.location.href; |
| var bc = 0; |
| var n = strUrl.toLowerCase().indexOf("bc-"); |
| if(n != -1) |
| { |
| document.location.href = strUrl.substring(0, n); |
| bc = strUrl.substring(n+3); |
| } |
| |
| if (window.setRelStartPage) |
| { |
| addTocInfo("Tasks\nDebugging Files and Applications\nSetting Up Remote Debugging\nAdding a Server Location Path Map"); |
| addTocInfo("Tasks\nAdding a Server Location Path Map"); |
| addAvenueInfo("Tasks","configuring_build_paths.htm","using_the_php_html_wysywig_editor.htm"); |
| |
| } |
| |
| if(bc == 1) |
| { |
| document.write("<p style=\"text-align:left\"> "); |
| AddMasterBreadcrumbs("ide_help.htm", "", ">", "Home", "pdt_table_of_contents.htm"); |
| document.write("<a href=\"tasks.htm\">Tasks<\/a> > Adding a Server Location Path Map<\/p>"); |
| } |
| else{ |
| document.write("<p style=\"text-align:left\"> "); |
| AddMasterBreadcrumbs("ide_help.htm", "", ">", "Home", "pdt_table_of_contents.htm"); |
| document.write("<a href=\"tasks.htm\">Tasks<\/a> > <a href=\"debugging.htm\">Debugging Files and Applications<\/a> > <a href=\"troubleshooting_remote_debugging.htm\">Setting Up Remote Debugging<\/a> > Adding a Server Location Path Map<\/p>"); |
| } |
| |
| |
| |
| if (window.setRelStartPage) |
| { |
| setRelStartPage("ide_help.htm"); |
| |
| autoSync(0); |
| sendSyncInfo(); |
| sendAveInfoOut(); |
| } |
| |
| } |
| else |
| if (window.gbIE4) |
| document.location.reload(); |
| //--> |
| //]]></script> |
| </head> |
| |
| <body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5"><a name="bc-1"></a><script type="text/javascript" language="javascript1.2">//<![CDATA[ |
| <!-- |
| if (window.writeIntopicBar) |
| writeIntopicBar(4); |
| //--> |
| //]]></script> |
| <div style="width: 100%; position: relative;" id="header"> |
| |
| |
| <p align="right"><a |
| title="Documentation Survey" href="http://spreadsheets.google.com/viewform?formkey=dC1scEswTjFia2tDQ3Y5TVJBbkNQcWc6MQ">Documentation |
| Survey</a> |
| | <a href="javascript:crlf="";h=location.href;t=document.title;e = "" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location="mailto:documentation@zend.com" + "?Subject= Feedback on PDT for page " + escape(t) + "&Body=" + escape(e).replace(/ /g, "+") + crlf + " "; void 0"><span |
| style="background-color: #ffffff;">Submit Documentation</span><span |
| style="background-color: #ffffff;"> Feedback</span></a><span |
| style="background-color: #ffffff;"></span><span style="background-color: #ffffff;"> |
| </span><span style="background-color: #ffffff;">| |
| </span><span |
| style="background-color: #ffffff;"><a title="View Latest Version and Get PDF Online" |
| href="http://www.zend.com/en/resources/zend-documentation/" |
| target="_blank">View Latest |
| Version and Get PDF Online</a></span></p> |
| </div> |
| |
| |
| <h1>Adding a Server Location Path Map |
| </h1> |
| <p>This procedure describes how to add a Path Map to a server so that files |
| which are called from a certain location on the server will be searched |
| for in a local location during PHP Web Page debugging |
| .</p> |
| <p>See <a href="path_mapping.htm">Path Mapping</a> for more details</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;"> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;">To add a Path Map to a server:</p> |
| <ol type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Open the PHP Servers |
| Preferences Page by going to Window | Preferences on the Menu |
| Bar and selecting PHP | PHP Servers from the Preferences list.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Select the server |
| on which you would like to create the Path Map and click Edit.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>In the Edit Server |
| dialog, select the Path Mapping tab.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Click Add.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>An Add new Path |
| Mapping dialog appears.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Enter the Server |
| Path from which you would like to create the Path Map. Files |
| called from this location will be searched for in the path |
| specified below.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Select either |
| the 'Path in Workspace' or 'Path in File System' option and |
| click Browse to specify the location.</p></li> |
| </ol> |
| |
| <p class="FIgureCaption"><img src="path_mapping_edit_pdt.png" alt="path_mapping_edit_pdt.png" style="border: none;" width="228" height="193" border="0"></p> |
| |
| <ol start="8" type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Click OK.</p></li> |
| </ol></td> |
| </tr> |
| <tr valign="top"> |
| <td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>Your |
| Path Map will be added to your server list.</p> |
| |
| <p class="FIgureCaption"><img src="path_mapping_dialog_pdt.png" alt="path_mapping_dialog_pdt.png" style="border: none;" width="343" height="217" border="0"></p> |
| |
| <p>The next time a file is called from the Path on Server, it will |
| be searched for in the local location you have specified.</p></td> |
| |
| </tr> |
| </table> |
| <p class="Note">Note:</p> |
| <p class="NoteText">Path Mapping can also be set automatically during Debugging . See the <a href="path_mapping.htm">Path Mapping</a> |
| topic for more details.</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr style="height: 16px;" valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; |
| padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr style="height: 35px;" valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="link_icon.png" alt="link_icon.png" style="border: none;" width="32" height="40" border="0"> </p></td> |
| <td style="width: 92.907%; |
| padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;">Related Links:</p> |
| <p style="font-weight: normal;"><a href="path_mapping.htm" style="font-weight: normal;">Path |
| Mapping</a></p> |
| <p><a href="php_servers.htm">PHP Servers Preferences</a></p> |
| |
| |
| |
| </td> |
| </tr> |
| <tr style="height: 19px;" valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; |
| padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| </table> |
| <div style="width: 100%; position: relative;" id="footer"> |
| |
| <p style="text-decoration: underline; " |
| align="center">PHP Development |
| Tools</p> |
| |
| |
| </div> |
| <script type="text/javascript" language="javascript1.2">//<![CDATA[ |
| <!-- |
| if (window.writeIntopicBar) |
| writeIntopicBar(0); |
| |
| highlightSearch(); |
| //--> |
| //]]></script> |
| </body> |
| </html> |